diff --git a/system/hardware/tici/hardware.h b/system/hardware/tici/hardware.h index 00e7950ba2..7d73f86ee9 100644 --- a/system/hardware/tici/hardware.h +++ b/system/hardware/tici/hardware.h @@ -76,6 +76,7 @@ public: } int value = util::map_val(std::clamp(percent, 0, 100), 0, 100, 0, 255); + std::ofstream("/sys/class/leds/led:switch_2/brightness") << 0 << "\n"; std::ofstream("/sys/class/leds/led:torch_2/brightness") << value << "\n"; std::ofstream("/sys/class/leds/led:switch_2/brightness") << value << "\n"; }