libtunes: Change TuneID::ERROR in ERROR_TUNE

This prevents the expanction of the ERROR macro inside the TuneID enum
This commit is contained in:
Simone Guscetti
2018-03-19 14:15:52 +01:00
committed by Beat Küng
parent 79dacdda2c
commit 879c698cab
+1 -1
View File
@@ -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):