diff --git a/light/Light.h b/light/Light.h index 8427148b..7acefa71 100644 --- a/light/Light.h +++ b/light/Light.h @@ -48,14 +48,12 @@ class Light : public ILight { uint32_t max_screen_brightness_; std::unordered_map> lights_{ - {Type::ATTENTION, [this](auto&&... args) { setLightNotification(args...); }}, {Type::BACKLIGHT, [this](auto&&... args) { setLightBacklight(args...); }}, {Type::BATTERY, [this](auto&&... args) { setLightNotification(args...); }}, {Type::NOTIFICATIONS, [this](auto&&... args) { setLightNotification(args...); }}}; // Keep sorted in the order of importance. - std::array, 3> notif_states_ = {{ - {Type::ATTENTION, {}}, + std::array, 2> notif_states_ = {{ {Type::NOTIFICATIONS, {}}, {Type::BATTERY, {}}, }};