mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 20:13:35 +08:00
Give priority to power off tune over other tunes (e.g. Battery Low)
Make Power Off tune not interruptable This solves the case of Low Battery warning tune overriding the power off tune, as now the Power off tune is not interruptable by any other tune unless override flag is specified commander_helper: resolve "redundant boolean literal in ternary expression result"
This commit is contained in:
committed by
Matthias Grob
parent
652b153383
commit
f66c3914f6
@@ -104,4 +104,4 @@ PX4_DEFINE_TUNE(15, SD_ERROR, "MNBG",
|
||||
PX4_DEFINE_TUNE(16, PROG_PX4IO, "MLL32CP8MB", false /* Program PX4IO */)
|
||||
PX4_DEFINE_TUNE(17, PROG_PX4IO_OK, "MLL8CDE", false /* Program PX4IO success */)
|
||||
PX4_DEFINE_TUNE(18, PROG_PX4IO_ERR, "ML<<CP4CP4CP4CP4CP4", true /* Program PX4IO fail */)
|
||||
PX4_DEFINE_TUNE(19, POWER_OFF, "MFT255a8g8f8e8c8<b8a8g4", true /* When pressing off button */)
|
||||
PX4_DEFINE_TUNE(19, POWER_OFF, "MFT255a8g8f8e8c8<b8a8g4", false /* When pressing off button */)
|
||||
|
||||
Reference in New Issue
Block a user