diff --git a/src/main/config/runtime_config.h b/src/main/config/runtime_config.h index 30e7a9b..1108041 100755 --- a/src/main/config/runtime_config.h +++ b/src/main/config/runtime_config.h @@ -88,10 +88,11 @@ typedef enum { TP_FRSKY_D = (1 << 6), TP_FRSKY_X = (1 << 7), TP_LTM = (1 << 8), - TP_LTM_FRSKYD = (1 << 9), - TP_PITLAB = (1 << 10), + TP_PITLAB = (1 << 9), + TP_LTM_FRSKYD = (1 << 10), TP_CALIBRATING_PAN0 = (1 << 11), - TP_CALIBRATING_MAXPAN = (1 << 12) + TP_CALIBRATING_MAXPAN = (1 << 12), + } trackerProtocolFlags_t; extern uint16_t trackerProtocolFlags; diff --git a/src/main/io/display.c b/src/main/io/display.c index e99086f..52f042c 100755 --- a/src/main/io/display.c +++ b/src/main/io/display.c @@ -170,17 +170,17 @@ typedef struct pageState_s { static pageState_t pageState; static const char* const telemetry_protocols_Titles[]={ - "SERVOTEST ", + "SERVOTEST ", "CALIBRATING_MAG", - "MFD ", - "GPS_TELEMETRY", - "MAVLINK ", - "RVOSD ", - "FRSKY_D ", - "FRSKY_X ", - "LTM ", - "LTM_FRSKYD ", - "PITLAB " + "MFD ", + "GPS_TELEMETRY ", + "MAVLINK ", + "RVOSD ", + "FRSKY_D ", + "FRSKY_X ", + "LTM ", + /*"LTM_FRSKYD ",*/ + "PITLAB " }; // Menu @@ -221,8 +221,9 @@ static const char* const telemetryProtocolMenu[] = { "FRSKY D ", "FRSKY X ", "LTM ", + "LTM_FRSKYD ", "PITLAB ", - /*"LTM_FRSKYD ",*/ + "AUTODETECT ", "EXIT " }; @@ -385,7 +386,7 @@ void showTitle() //i2c_OLED_send_string(pageTitles[pageState.pageId]); if(pageState.pageId==PAGE_TELEMETRY) { int16_t i; - for(i=0;i<11;i++) { + for(i=0;i<10;i++) { if(master_telemetry_protocol & (1<