AP_Arming: get_enabled_checks returns uint32_t

This commit is contained in:
Randy Mackay 2020-02-12 10:24:36 +09:00
parent 8ad9a49900
commit df8bf27a7f
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ bool AP_Arming::is_armed()
return (Required)require.get() == Required::NO || armed;
}
uint16_t AP_Arming::get_enabled_checks()
uint32_t AP_Arming::get_enabled_checks() const
{
return checks_to_perform;
}

View File

@ -84,7 +84,7 @@ public:
bool is_armed();
// get bitmask of enabled checks
uint16_t get_enabled_checks();
uint32_t get_enabled_checks() const;
// pre_arm_checks() is virtual so it can be modified in a vehicle specific subclass
virtual bool pre_arm_checks(bool report);