Skip to content

Use enumeration for PREFLIGHT_STORAGE / understand synonym for wipe-parameter-storage#32374

Merged
peterbarker merged 3 commits intoArduPilot:masterfrom
peterbarker:pr/param-storage-action
Mar 16, 2026
Merged

Use enumeration for PREFLIGHT_STORAGE / understand synonym for wipe-parameter-storage#32374
peterbarker merged 3 commits intoArduPilot:masterfrom
peterbarker:pr/param-storage-action

Conversation

@peterbarker
Copy link
Copy Markdown
Contributor

Summary

There's an enumeration to hold the values now, rather than just magic values. So use that enumeration.

Understand 4 as being the same as 2 for ArduPilot.

Testing (more checks increases chance of being merged)

  • Checked by a human programmer
  • Tested in SITL
  • Tested on hardware
  • Logs attached
  • Logs available on request
  • Autotest included

Description

ArduPilot/MAVLink PR is here: ArduPilot/mavlink#489

PR with discussion around the new enumeration value is here: mavlink/mavlink#2418

@tridge tridge removed the DevCallEU label Mar 11, 2026
including PREFLIGHT_STORAGE_PARAMETER_ACTION enumeration
mavlink/mavlink/master changed the meaning of value==2 to mean "don't reset everything", so a new value has been added with the original meaning.
@peterbarker peterbarker force-pushed the pr/param-storage-action branch from 8fdcddd to df12b89 Compare March 12, 2026 01:17
@peterbarker peterbarker merged commit d394a0b into ArduPilot:master Mar 16, 2026
113 of 114 checks passed
@peterbarker peterbarker deleted the pr/param-storage-action branch March 16, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants