Fix building X10 after X12
This commit is contained in:
@@ -40,6 +40,7 @@ if (PCB STREQUAL X10)
|
|||||||
set(FONTS_TARGET x10_fonts)
|
set(FONTS_TARGET x10_fonts)
|
||||||
set(LCD_DRIVER lcd_driver.cpp)
|
set(LCD_DRIVER lcd_driver.cpp)
|
||||||
set(LUA_EXPORT lua_export_x10)
|
set(LUA_EXPORT lua_export_x10)
|
||||||
|
set(INTERNAL_GPS OFF)
|
||||||
if (PCBREV STREQUAL EXPRESS)
|
if (PCBREV STREQUAL EXPRESS)
|
||||||
set(FLAVOUR x10express)
|
set(FLAVOUR x10express)
|
||||||
option(INTERNAL_MODULE_PXX1 "Support for PXX1 internal module" OFF)
|
option(INTERNAL_MODULE_PXX1 "Support for PXX1 internal module" OFF)
|
||||||
|
|||||||
@@ -582,7 +582,7 @@ uint8_t gpsGetByte(uint8_t * byte);
|
|||||||
extern uint8_t gpsTraceEnabled;
|
extern uint8_t gpsTraceEnabled;
|
||||||
#endif
|
#endif
|
||||||
void gpsSendByte(uint8_t byte);
|
void gpsSendByte(uint8_t byte);
|
||||||
#if defined(PCBX12S)
|
#if defined(INTERNAL_GPS)
|
||||||
#define PILOTPOS_MIN_HDOP 500
|
#define PILOTPOS_MIN_HDOP 500
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user