Ghost module handling

This commit is contained in:
3djc
2022-03-21 11:45:15 +01:00
committed by Raphael Coeffic
parent 97d3c68efc
commit 001144cd5c
7 changed files with 61 additions and 24 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ void telemetryPortSetDirectionInput()
{
sportWaitTransmissionComplete();
#if defined(GHOST) && SPORT_MAX_BAUDRATE < 400000
if (isModuleGhost(EXTERNAL_MODULE) && g_eeGeneral.telemetryBaudrate == GHST_TELEMETRY_RATE_115K) {
if (isModuleGhost(EXTERNAL_MODULE) && g_model.moduleData[EXTERNAL_MODULE].crsf.telemetryBaudrate == GHST_TELEMETRY_RATE_115K) {
TELEMETRY_USART->BRR = BRR_115K;
}
#endif