Skip to content

Commit

Permalink
Fix no-MAVLink build
Browse files Browse the repository at this point in the history
  • Loading branch information
MUSTARDTIGERFPV committed Jul 30, 2024
1 parent 3468cf5 commit 16b6eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WIFI/devWIFI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ static void HandleWebUpdate()
mavlink_stats.packets_downlink++;
}
}
}
#else
int val = Serial.read();
logBuffer[logPos++] = val;
Expand All @@ -831,7 +832,6 @@ static void HandleWebUpdate()
logPos = 0;
}
#endif
}
}

#if defined(MAVLINK_ENABLED)
Expand Down

0 comments on commit 16b6eb8

Please sign in to comment.