1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Stop trainers before changing model (#8075)

Turn off SBUS trainer to allow model switch
This commit is contained in:
3djc 2020-11-07 13:00:33 +01:00 committed by GitHub
parent 8767ae4606
commit 8afb48eee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 35 deletions

View file

@ -35,6 +35,7 @@ extern uint8_t currentTrainerMode;
void checkTrainerSignalWarning();
void checkTrainerSettings();
void stopTrainer();
void forceResetTrainerSettings();
// Needs to be inlined to avoid slow function calls in ISR routines