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
2017-08-08 10:58:35 +02:00
committed by Beat Küng
parent 79dacdda2c
commit 879c698cab

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):