diff --git a/src/main/rx/ghst.c b/src/main/rx/ghst.c index 6f3173804f..54d3b6f0f5 100644 --- a/src/main/rx/ghst.c +++ b/src/main/rx/ghst.c @@ -241,7 +241,7 @@ uint8_t ghstFrameStatus(rxRuntimeConfig_t *rxRuntimeState) { UNUSED(rxRuntimeState); - if(serialIsIdle(serialPort)) { + if (serialIsIdle(serialPort)) { ghstIdle(); } diff --git a/src/main/telemetry/ghst.c b/src/main/telemetry/ghst.c index 121f239446..dc9c02579e 100644 --- a/src/main/telemetry/ghst.c +++ b/src/main/telemetry/ghst.c @@ -163,7 +163,7 @@ bool checkGhstTelemetryState(void) // Called periodically by the scheduler void handleGhstTelemetry(timeUs_t currentTimeUs) { - static uint32_t ghstLastCycleTime; + static timeUs_t ghstLastCycleTime; if (!ghstTelemetryEnabled) { return;