1
0
Fork 0
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:
Roman Lut 2022-07-10 21:07:44 +03:00
parent 0f70b2d5fb
commit 3b381093ff

View file

@ -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()) {