mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_HAL: enumeration format fixes
This commit is contained in:
parent
8a20820a41
commit
a2444d1df3
@ -89,7 +89,9 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum flow_control {
|
enum flow_control {
|
||||||
FLOW_CONTROL_DISABLE=0, FLOW_CONTROL_ENABLE=1, FLOW_CONTROL_AUTO=2
|
FLOW_CONTROL_DISABLE=0,
|
||||||
|
FLOW_CONTROL_ENABLE=1,
|
||||||
|
FLOW_CONTROL_AUTO=2,
|
||||||
};
|
};
|
||||||
virtual void set_flow_control(enum flow_control flow_control_setting) {};
|
virtual void set_flow_control(enum flow_control flow_control_setting) {};
|
||||||
virtual enum flow_control get_flow_control(void) { return FLOW_CONTROL_DISABLE; }
|
virtual enum flow_control get_flow_control(void) { return FLOW_CONTROL_DISABLE; }
|
||||||
|
@ -49,7 +49,9 @@ public:
|
|||||||
virtual bool run_debug_shell(AP_HAL::BetterStream *stream) = 0;
|
virtual bool run_debug_shell(AP_HAL::BetterStream *stream) = 0;
|
||||||
|
|
||||||
enum safety_state : uint8_t {
|
enum safety_state : uint8_t {
|
||||||
SAFETY_NONE, SAFETY_DISARMED, SAFETY_ARMED
|
SAFETY_NONE,
|
||||||
|
SAFETY_DISARMED,
|
||||||
|
SAFETY_ARMED,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user