Skip to content

Commit

Permalink
fix: restore master serial trainer option (EdgeTX#4601)
Browse files Browse the repository at this point in the history
  • Loading branch information
3djc authored and ThomasKuehne committed Feb 10, 2024
1 parent 2d1e796 commit ffcb13b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions radio/src/gui/gui_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1008,11 +1008,7 @@ bool isTrainerModeAvailable(int mode)
#endif

if (mode == TRAINER_MODE_MASTER_SERIAL) {
#if defined(SBUS_TRAINER)
return serialGetModePort(UART_MODE_SBUS_TRAINER) >= 0;
#else
return false;
#endif
}

if ((mode == TRAINER_MODE_MASTER_BLUETOOTH ||
Expand Down

0 comments on commit ffcb13b

Please sign in to comment.