commander: move battery warning

The battery warning is not consumed anywhere, therefore scrap it from
the vehicle_status message.
This commit is contained in:
Julian Oes
2016-04-11 18:01:47 +02:00
parent 8e9e9f8a8b
commit 699b08c9fd
2 changed files with 16 additions and 11 deletions
-4
View File
@@ -51,10 +51,6 @@ uint8 NAVIGATION_STATE_AUTO_LAND = 18 # Land
uint8 NAVIGATION_STATE_AUTO_FOLLOW_TARGET = 19 # Auto Follow
uint8 NAVIGATION_STATE_MAX = 20
uint8 VEHICLE_BATTERY_WARNING_NONE = 0 # no battery low voltage warning active
uint8 VEHICLE_BATTERY_WARNING_LOW = 1 # warning of low voltage
uint8 VEHICLE_BATTERY_WARNING_CRITICAL = 2 # alerting of critical voltage
uint8 RC_IN_MODE_DEFAULT = 0
uint8 RC_IN_MODE_OFF = 1
uint8 RC_IN_MODE_GENERATED = 2