Upravy kvuli c++20
This commit is contained in:
parent
6916d0be5e
commit
8e022f5935
@ -140,8 +140,7 @@ void wsLED::rtLed() {
|
||||
break;
|
||||
|
||||
case LED_BREATH: {
|
||||
++mSubState;
|
||||
mSubState %= countof(LB);
|
||||
mSubState = (mSubState + 1) % countof(LB);
|
||||
uint16_t val = pgm_read_word(&LB[mSubState]);
|
||||
mScale = (uint8_t) val;
|
||||
val >>= 8;
|
||||
|
Loading…
Reference in New Issue
Block a user