ArduPilot / ArduRemoteID

RemoteID support using OpenDroneID
GNU General Public License v2.0
102 stars 50 forks source link

parameter reset to defaults #106

Closed BluemarkInnovations closed 1 year ago

BluemarkInnovations commented 1 year ago

This PR adds the parameter TO_DEFAULTS. If set to 1, it will reset all values to their default value. And will also set the TO_DEFAULTS parameter to 0 again.

This is useful for ArduRemoteID devices that don't have a droneCAN interface. These devices don't have the option to configure string parameters. Of course, a user could flash the firmware via a serial interface; this parameter is a better way without reflashing firmware.

BluemarkInnovations commented 1 year ago

Updated PR where I implemented the nvs_flash_erase option.