1
0
Fork 0

feat: later deep sleep, add delay to setup

This commit is contained in:
Gottfried Mayer 2023-11-06 21:29:17 +01:00
parent 3b899acfbf
commit ef31de9589
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ colorToTime_t schedule[5] = {
{7, 2, cColor INIT_WakeupColor},
{8, 0, cColor(0, 0, 0)},
{19, 30, cColor INIT_SleepColor},
{20, 45, cColor INIT_DeepSleepColor}};
{21, 0, cColor INIT_DeepSleepColor}};
timeToColor ttc = schedule;
uint32_t currentColor = 0;
@ -179,7 +179,6 @@ void updateRTCFromNTP()
void setup()
{
#ifdef SERIAL_DEBUG
Serial.begin(115200);
Log.begin(LOG_LEVEL_NOTICE, &Serial);
@ -195,6 +194,7 @@ void setup()
strip.show();
// rtc setup
delay(120);
initRTC();
if (hasRTC)
{