mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 03:33:34 +08:00
battery: use mechanism to keep an up to date armed state
This commit is contained in:
@@ -170,4 +170,5 @@ private:
|
||||
float _scale{1.f};
|
||||
uint8_t _warning{battery_status_s::BATTERY_WARNING_NONE};
|
||||
hrt_abstime _last_timestamp{0};
|
||||
bool _armed{false};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user