diff --git a/lights/Light.cpp b/lights/Light.cpp index acf033f..d914e55 100644 --- a/lights/Light.cpp +++ b/lights/Light.cpp @@ -58,8 +58,8 @@ static int rgbToBrightness(const LightState& state) { Light::Light() { mLights.emplace(Type::ATTENTION, std::bind(&Light::handleRgb, this, std::placeholders::_1, 0)); mLights.emplace(Type::BACKLIGHT, std::bind(&Light::handleBacklight, this, std::placeholders::_1)); - mLights.emplace(Type::BATTERY, std::bind(&Light::handleRgb, this, std::placeholders::_1, 1)); - mLights.emplace(Type::NOTIFICATIONS, std::bind(&Light::handleRgb, this, std::placeholders::_1, 2)); + mLights.emplace(Type::BATTERY, std::bind(&Light::handleRgb, this, std::placeholders::_1, 2)); + mLights.emplace(Type::NOTIFICATIONS, std::bind(&Light::handleRgb, this, std::placeholders::_1, 1)); } void Light::handleBacklight(const LightState& state) {