mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-16 23:41:40 +02:00
fix: dev: bug int turnOff(ALL) fixed
This commit is contained in:
@ -68,7 +68,9 @@ void MultiColorLight::turnOff(leds leds){
|
||||
MultiColorLight::setLed(index,0);
|
||||
}break;
|
||||
case ALL:
|
||||
rgbLeds.clear();break;
|
||||
for (int index = 0; index<3; index++){
|
||||
MultiColorLight::setLed(index,0);
|
||||
}break;
|
||||
default:
|
||||
//TODO logging
|
||||
break;
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @file MultiColorLight.h
|
||||
* @author Saskia Duebener, Hans Haupt
|
||||
* @brief This component controls the ability to show multicolored light, using the RGB-LEDs
|
||||
* @version 0.1
|
||||
* @version 0.2
|
||||
* @date 2023-11-25
|
||||
*
|
||||
* @copyright Copyright (c) 2023
|
||||
|
Reference in New Issue
Block a user