Commit bd8e9543 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

Remove healthAllOk

parent dc5bf8cc
...@@ -313,6 +313,7 @@ int reboot() { ...@@ -313,6 +313,7 @@ int reboot() {
int arm(void) { int arm(void) {
if (telemetry->armed()) { if (telemetry->armed()) {
log("Drone already armed");
return 0; return 0;
} }
...@@ -425,10 +426,6 @@ int gpsIsOk(void) { ...@@ -425,10 +426,6 @@ int gpsIsOk(void) {
return (fixType != Telemetry::FixType::NoGps) && (fixType != Telemetry::FixType::NoFix); return (fixType != Telemetry::FixType::NoGps) && (fixType != Telemetry::FixType::NoFix);
} }
int healthAllOk(void) {
return telemetry->health_all_ok();
}
int isReadyToFly(void) { int isReadyToFly(void) {
return is_in_air; return is_in_air;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment