mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Machine resets clear GPIO input latches, so restore the hwdef defaults alongside the vector table in the generated reset macro. Save persistent flash through atomic replacement to keep the previous image intact on interrupted writes, and exercise reset, erase and save behavior in Renode.