Warning if all telemetry slots are full

This commit is contained in:
Andre Bernet
2015-03-22 22:00:04 +04:00
parent 7f6d77e441
commit 25a0463d2d
15 changed files with 19 additions and 1 deletions
@@ -574,6 +574,9 @@ void menuModelTelemetry(uint8_t event)
s_currIdx = res;
pushMenu(menuModelSensor);
}
else {
POPUP_WARNING(STR_TELEMETRYFULL);
}
}
break;
#endif
@@ -538,6 +538,9 @@ void menuModelTelemetry(uint8_t event)
s_currIdx = res;
pushMenu(menuModelSensor);
}
else {
POPUP_WARNING(STR_TELEMETRYFULL);
}
}
break;
+1 -1
View File
@@ -470,7 +470,7 @@ void setTelemetryValue(TelemetryProtocol protocol, uint16_t id, uint8_t instance
}
}
else {
// TODO error too many sensors
POPUP_WARNING(STR_TELEMETRYFULL);
}
}
}
+1
View File
@@ -556,6 +556,7 @@ const pm_char STR_BLCOLOR[] PROGMEM = TR_BLCOLOR;
const pm_char STR_CURRENTSENSOR[] PROGMEM = TR_CURRENTSENSOR;
const pm_char STR_AUTOOFFSET[] PROGMEM = TR_AUTOOFFSET;
const pm_char STR_FILTER[] PROGMEM = TR_FILTER;
const pm_char STR_TELEMETRYFULL[] PROGMEM = TR_TELEMETRYFULL;
#endif
#if defined(PCBTARANIS)
+1
View File
@@ -766,6 +766,7 @@ extern const pm_char STR_BLCOLOR[];
extern const pm_char STR_CURRENTSENSOR[];
extern const pm_char STR_AUTOOFFSET[];
extern const pm_char STR_FILTER[];
extern const pm_char STR_TELEMETRYFULL[];
#endif
#if defined(PCBTARANIS)
+1
View File
@@ -1061,6 +1061,7 @@
#define TR_CURRENTSENSOR "Current sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -1060,6 +1060,7 @@
#define TR_CURRENTSENSOR "Current sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -1060,6 +1060,7 @@
#define TR_CURRENTSENSOR "Curr. sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -996,6 +996,7 @@
#define TR_CURRENTSENSOR "Current sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -996,6 +996,7 @@
#define TR_CURRENTSENSOR "Current sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -1056,6 +1056,7 @@
#define TR_CURRENTSENSOR "Capt courant"
#define TR_AUTOOFFSET "Offset auto"
#define TR_FILTER "Filtrage"
#define TR_TELEMETRYFULL "Plus de capteurs libres!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -996,6 +996,7 @@
#define TR_CURRENTSENSOR "Current sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -994,6 +994,7 @@
#define TR_CURRENTSENSOR "Current sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -996,6 +996,7 @@
#define TR_CURRENTSENSOR "Current sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"
+1
View File
@@ -996,6 +996,7 @@
#define TR_CURRENTSENSOR "Current sensor"
#define TR_AUTOOFFSET "Auto Offset"
#define TR_FILTER "Filter"
#define TR_TELEMETRYFULL "All telemetry slots full!"
#define ZSTR_RSSI "RSSI"
#define ZSTR_SWR "SWR"