New menu to configure the user custom screens

This commit is contained in:
Bertrand Songis
2016-01-31 11:35:25 +01:00
parent 40ae1879e8
commit 1c38ccaa12
33 changed files with 474 additions and 481 deletions
+5 -5
View File
@@ -27,11 +27,6 @@
bar_threshold_t barsThresholds[THLD_MAX];
#endif
NOINLINE uint8_t getRssiAlarmValue(uint8_t alarm)
{
return (45 - 3*alarm + g_model.frsky.rssiAlarms[alarm].value);
}
int barCoord(int value, int min, int max, int width)
{
if (value <= min)
@@ -184,3 +179,8 @@ void displayTelemetryScreen(int index, unsigned int evt)
return displayCustomTelemetryScreen(index);
}
}
NOINLINE uint8_t getRssiAlarmValue(uint8_t alarm)
{
return (45 - 3*alarm + g_model.frsky.rssiAlarms[alarm].value);
}