iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.19k stars 1.48k forks source link

FC crash when switching from MSP receiver type to Serial #10340

Open xznhj8129 opened 2 months ago

xznhj8129 commented 2 months ago

Current Behavior

Using JHEMCU GF30F405 and current master branch, after selecting MSP as receiver and using it, then switching back to SERIAL receiver and pressing "save and reboot", the flight controller crashes, blue status LED turns off and FC is unresponsive until rebooted. When rebooted, Receiver type is still MSP and thus cannot be changed.

Steps to Reproduce

  1. Change receiver type to MSP, reboot
  2. attempt to change back to SERIAL, ie CRSF

Suggested solution(s)

This is an STM32 level problem so i can't begin to suggest something