From 35c5ee64766f397218305e0217177efd2f57b462 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 17 Jun 2019 16:23:00 +0200 Subject: [PATCH] Cosmetics --- radio/src/gui/128x64/lcd.h | 2 -- radio/src/gui/212x64/gui.h | 2 -- radio/src/gui/480x272/menus.h | 2 -- radio/src/opentx_types.h | 1 + 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/radio/src/gui/128x64/lcd.h b/radio/src/gui/128x64/lcd.h index 331145572..e41091fb6 100644 --- a/radio/src/gui/128x64/lcd.h +++ b/radio/src/gui/128x64/lcd.h @@ -141,8 +141,6 @@ void putsChnLetter(coord_t x, coord_t y, uint8_t idx, LcdFlags attr); void putsVolts(coord_t x, coord_t y, uint16_t volts, LcdFlags att); void putsVBat(coord_t x, coord_t y, LcdFlags att); -#define FlightModesType uint16_t - void drawRtcTime(coord_t x, coord_t y, LcdFlags att); void drawTimer(coord_t x, coord_t y, int32_t tme, LcdFlags att, LcdFlags att2); void drawReceiverName(coord_t x, coord_t y, uint8_t moduleIdx, uint8_t receiverIdx, LcdFlags flags=0); diff --git a/radio/src/gui/212x64/gui.h b/radio/src/gui/212x64/gui.h index 2d131eff0..79481c56d 100644 --- a/radio/src/gui/212x64/gui.h +++ b/radio/src/gui/212x64/gui.h @@ -74,8 +74,6 @@ void showAlertBox(const char * title, const char * text, const char * action, ui void doMainScreenGraphics(); -typedef uint16_t FlightModesType; - extern int8_t checkIncDec_Ret; // global helper vars #define EDIT_SELECT_FIELD 0 diff --git a/radio/src/gui/480x272/menus.h b/radio/src/gui/480x272/menus.h index 67e309ae9..13bbf3b1c 100644 --- a/radio/src/gui/480x272/menus.h +++ b/radio/src/gui/480x272/menus.h @@ -266,8 +266,6 @@ bool menuScreensTheme(event_t event); bool menuRadioSpectrumAnalyser(event_t event); bool menuRadioPowerMeter(event_t event); -typedef uint16_t FlightModesType; - extern int8_t checkIncDec_Ret; // global helper vars #define EDIT_SELECT_FIELD 0 diff --git a/radio/src/opentx_types.h b/radio/src/opentx_types.h index 8d6f86977..9851f5a5e 100644 --- a/radio/src/opentx_types.h +++ b/radio/src/opentx_types.h @@ -31,5 +31,6 @@ typedef int32_t swsrc_t; typedef int16_t safetych_t; typedef uint32_t bitfield_channels_t; typedef uint16_t event_t; +typedef uint16_t FlightModesType; #endif // _OPENTX_TYPES_H_