More AVR removal

This commit is contained in:
Bertrand Songis
2018-08-05 13:12:51 +02:00
parent ea76998beb
commit ed91931184
23 changed files with 71 additions and 258 deletions
+1 -1
View File
@@ -467,7 +467,7 @@ void menuRadioSetup(event_t event)
}
#endif
#if defined(TELEMETRY_FRSKY) && defined(FRSKY_HUB) && defined(GPS)
#if defined(TELEMETRY_FRSKY) && defined(GPS)
case ITEM_SETUP_TIMEZONE:
lcdDrawTextAlignedLeft(y, STR_TIMEZONE);
lcdDrawNumber(RADIO_SETUP_2ND_COLUMN, y, g_eeGeneral.timezone, attr|LEFT);
+1 -1
View File
@@ -173,7 +173,7 @@ void displayTrims(uint8_t phase)
}
}
FORCEINLINE void drawTimerWithMode(coord_t x, coord_t y, uint8_t index)
void drawTimerWithMode(coord_t x, coord_t y, uint8_t index)
{
const TimerData & timer = g_model.timers[index];
if (timer.mode) {
-6
View File
@@ -23,10 +23,6 @@
#define STATUS_BAR_Y (7*FH+1)
#define TELEM_2ND_COLUMN (10*FW)
#if defined(FRSKY_HUB) && defined(GAUGES)
bar_threshold_t barsThresholds[THLD_MAX];
#endif
uint8_t s_frsky_view = 0;
#define BAR_LEFT 25
@@ -168,11 +164,9 @@ bool displayCustomTelemetryScreen(uint8_t index)
{
FrSkyScreenData & screen = g_model.frsky.screens[index];
#if defined(GAUGES)
if (IS_BARS_SCREEN(s_frsky_view)) {
return displayGaugesTelemetryScreen(screen);
}
#endif
displayNumbersTelemetryScreen(screen);
+1 -1
View File
@@ -411,7 +411,7 @@ void menuRadioSetup(event_t event)
}
#endif
#if defined(TELEMETRY_FRSKY) && defined(FRSKY_HUB) && defined(GPS)
#if defined(TELEMETRY_FRSKY) && defined(GPS)
case ITEM_SETUP_LABEL_GPS:
lcdDrawTextAlignedLeft(y, STR_GPS);
break;