mirror of
https://github.com/gunner47/GyverLamp.git
synced 2025-08-07 09:00:30 +03:00
Добавлен комментарий
This commit is contained in:
@@ -130,7 +130,7 @@ void printTime(uint32_t thisTime, bool onDemand) // периодич
|
||||
if ((needToPrint && thisTime != lastTimePrinted) || onDemand)
|
||||
{
|
||||
lastTimePrinted = thisTime;
|
||||
char stringTime[10U];
|
||||
char stringTime[10U]; // буффер для выводимого текста, его длина должна быть НЕ МЕНЬШЕ, чем длина текста + 1
|
||||
sprintf_P(stringTime, PSTR("-> %u:%02u"), (uint8_t)((thisTime - thisTime % 60U) / 60U), (uint8_t)(thisTime % 60U));
|
||||
loadingFlag = true;
|
||||
FastLED.setBrightness(modes[currentMode].Brightness);
|
||||
|
Reference in New Issue
Block a user