mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 07:27:34 +08:00
libtunes: Change TuneID::ERROR in ERROR_TUNE
This prevents the expanction of the ERROR macro inside the TuneID enum
This commit is contained in:
committed by
Beat Küng
parent
79dacdda2c
commit
879c698cab
@@ -100,7 +100,7 @@ int Tunes::set_control(const tune_control_s &tune_control)
|
||||
|
||||
// tunes that have a high priority
|
||||
case static_cast<int>(TuneID::STARTUP):
|
||||
case static_cast<int>(TuneID::ERROR):
|
||||
case static_cast<int>(TuneID::ERROR_TUNE):
|
||||
case static_cast<int>(TuneID::NOTIFY_POSITIVE):
|
||||
case static_cast<int>(TuneID::NOTIFY_NEUTRAL):
|
||||
case static_cast<int>(TuneID::NOTIFY_NEGATIVE):
|
||||
|
||||
Reference in New Issue
Block a user