mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Periph configures the ZED-F9P from its own parameters at every boot, so the copy saved into the receiver's flash is never the source of truth. Each save is a UBX-CFG-CFG sent with no deviceMask, which the receiver applies to BBR and flash: an erase and program of the whole flash configuration layer. That write lands 5s or more after startup and only while disarmed, which is exactly when a unit is likely to be unplugged, and the receiver shares the board supply so there is no orderly shutdown. A power cut mid-save can leave the configuration layer corrupt. Defaulting GPS_SAVE_CFG to 0 keeps the receiver configured from RAM on every boot and removes the write.