Browse Source

AP_HAL: log accumulated power status flags; all flags ever set

zr-v5.1
Peter Barker 5 years ago committed by Andrew Tridgell
parent
commit
bd8c4017bc
  1. 4
      libraries/AP_HAL/AnalogIn.h

4
libraries/AP_HAL/AnalogIn.h

@ -36,6 +36,10 @@ public: @@ -36,6 +36,10 @@ public:
// power supply status flags, see MAV_POWER_STATUS
virtual uint16_t power_status_flags(void) { return 0; }
// bitmask of all _power_flags bits ever set, so transient
// failures can still be diagnosed
virtual uint16_t accumulated_power_status_flags(void) const { return 0; }
};
#define ANALOG_INPUT_BOARD_VCC 254

Loading…
Cancel
Save