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 and DzikuVx committed Feb 23, 2021
1 parent e39757d commit 9802a54
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 9802a54

Please sign in to comment.