mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
disarm of simulator exit
This commit is contained in:
parent
0f70b2d5fb
commit
3b381093ff
1 changed files with 2 additions and 0 deletions
|
@ -3430,6 +3430,8 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
|
|||
|
||||
simulatorData.flags = 0;
|
||||
//review: many states were affected. reboot?
|
||||
|
||||
disarm(DISARM_SWITCH); //disarm to prevent motor output!!!
|
||||
}
|
||||
}
|
||||
else if (!areSensorsCalibrating()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue