Skip to content

Commit

Permalink
Merge pull request #6462 from iNavFlight/dzikuvx-fix-ghst-telemetry
Browse files Browse the repository at this point in the history
Fix GHST telemetry
  • Loading branch information
digitalentity authored Dec 31, 2020
2 parents 4111a8a + f8ce88f commit b40eaf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/rx/ghst.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ uint8_t ghstFrameStatus(rxRuntimeConfig_t *rxRuntimeState)
{
UNUSED(rxRuntimeState);

if(serialIsIdle(serialPort)) {
if (serialIsIdle(serialPort)) {
ghstIdle();
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/telemetry/ghst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b40eaf4

Please sign in to comment.