PXX2 always defined. PROTOCOL enums renamed. IRPROTOS removed

This commit is contained in:
Bertrand Songis
2018-11-28 18:02:14 +01:00
parent b30c9b63cd
commit b72ccb4836
34 changed files with 174 additions and 343 deletions
+2 -2
View File
@@ -176,7 +176,7 @@ const char * sportUpdatePowerOn(ModuleIndex module)
sportUpdateState = SPORT_POWERUP_REQ;
sportWaitState(SPORT_IDLE, 500); // Clear the fifo
telemetryInit(PROTOCOL_FRSKY_SPORT);
telemetryInit(PROTOCOL_TELEMETRY_FRSKY_SPORT);
#if defined(PCBTARANIS) || defined(PCBHORUS)
if (module == INTERNAL_MODULE)
@@ -199,7 +199,7 @@ const char * sportUpdatePowerOn(ModuleIndex module)
return NULL;
}
if (telemetryProtocol != PROTOCOL_FRSKY_SPORT) {
if (telemetryProtocol != PROTOCOL_TELEMETRY_FRSKY_SPORT) {
return TR("Not responding", "Not S.Port 1");
}