1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

Fix building X10 after X12

This commit is contained in:
Kilrah 2019-09-30 09:36:47 +02:00
parent 8c3f008f64
commit 2d581d2f88
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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