PX4-Autopilot icon indicating copy to clipboard operation
PX4-Autopilot copied to clipboard

Fix AppState unable to restart after requestExit

Open tatjam opened this issue 11 months ago • 2 comments

Solved Problem

When developing an external module I found that after requesting exit from the start program, any other attempt to start the module would have it instantly quit. This is because setting an AppState to running doesn't clear the request exit flag.

Solution

  • Clear the request exit flag after setting AppState to running

Changelog Entry

For release notes:

Bugfix AppState unable to run after requesting exit

tatjam avatar Mar 01 '24 11:03 tatjam

Not sure why format check is failing, it appears just like it's in the file :thinking:

tatjam avatar Mar 01 '24 16:03 tatjam

Not sure why format check is failing, it appears just like it's in the file 🤔

run make format

dakejahl avatar Mar 15 '24 20:03 dakejahl