[X7] S.PORT devices update is now done on the bottom connector (#4457)
* [X7] S.PORT devices update is now done on the bottom connector * [X7] I introduce a PCBREV option, as previous versions didn't have this S.PORT bottom connector * [X7] Introduce a PCBREV PIN to avoid having different 2 different firmware on X7 * Compilation fix * [X7] PCBREV PIN was inverted * [X7] PULL DOWN on PCBREV PIN * S.PORT bottom connector is powered by PB.02, not PB.01 * [X7] PCBREV resistor changed * [X7] PCBREV resistor changed
This commit is contained in:
@@ -182,7 +182,7 @@ const char * sportUpdatePowerOn(ModuleIndex module)
|
||||
if (module == INTERNAL_MODULE)
|
||||
INTERNAL_MODULE_ON();
|
||||
else
|
||||
EXTERNAL_MODULE_ON();
|
||||
SPORT_UPDATE_POWER_ON();
|
||||
#endif
|
||||
|
||||
sportWaitState(SPORT_IDLE, 50); // Clear the fifo
|
||||
@@ -196,7 +196,8 @@ const char * sportUpdatePowerOn(ModuleIndex module)
|
||||
if (sportWaitState(SPORT_POWERUP_ACK, 100))
|
||||
return NULL;
|
||||
}
|
||||
return "Module not responding";
|
||||
|
||||
return TR("Not responding", "Module not responding");
|
||||
}
|
||||
|
||||
const char * sportUpdateReqVersion()
|
||||
@@ -305,7 +306,7 @@ void sportFlashDevice(ModuleIndex module, const char * filename)
|
||||
|
||||
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
||||
INTERNAL_MODULE_OFF();
|
||||
EXTERNAL_MODULE_OFF();
|
||||
SPORT_UPDATE_POWER_OFF();
|
||||
#endif
|
||||
|
||||
sportWaitState(SPORT_IDLE, 500); // Clear the fifo
|
||||
|
||||
Reference in New Issue
Block a user