Skip to content

Commit

Permalink
don't read from serial client until SDR is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Sep 16, 2024
1 parent 0b342c0 commit d0b3135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -5466,7 +5466,7 @@ void modesNetPeriodicWork(void) {
timespec_add_elapsed(&before, &after, &Modes.stats_current.background_cpu);
}

if (Modes.serial_client) {
if (Modes.serial_client && Modes.sdrInitialized) {
if (Modes.serial_client->service) {
modesReadFromClient(Modes.serial_client, mb);
} else {
Expand Down

0 comments on commit d0b3135

Please sign in to comment.