Upravy kvuli c++20

This commit is contained in:
Pavel Brychta 2024-05-31 07:36:41 +02:00
parent 6916d0be5e
commit 8e022f5935

View File

@ -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;