File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ void dimmerTask(void *parameter)
53
53
while (1 )
54
54
{
55
55
vTaskDelayUntil (&xLastWakeTime, ticksToWait);
56
- const suseconds_t msElapsedToday = msSinceMidnight ();
56
+ const auto msElapsedToday = msSinceMidnight ();
57
57
58
58
if (msElapsedToday) /* to solve flashing at 00:00:000 due to the fact that the first timer has no predecessor at this time */
59
59
{
Original file line number Diff line number Diff line change @@ -169,7 +169,6 @@ void setup(void)
169
169
{
170
170
Serial.begin (115200 );
171
171
172
-
173
172
log_i (" aquacontrol v2" );
174
173
175
174
if (!lcdQueue)
@@ -219,7 +218,7 @@ void setup(void)
219
218
{
220
219
log_e (" could not set ledc clock source. system halted!" );
221
220
while (1 )
222
- delay (100 );
221
+ delay (100 );
223
222
}
224
223
225
224
BaseType_t result = xTaskCreate (lcdTask,
@@ -245,10 +244,8 @@ void setup(void)
245
244
log_i (" syncing NTP" );
246
245
sntp_set_time_sync_notification_cb ((sntp_sync_time_cb_t )ntpCb);
247
246
configTzTime (TIMEZONE, NTP_POOL);
248
- }
249
247
250
- void loop ()
251
- {
252
- // put your main code here, to run repeatedly:
253
- delay (100 );
248
+ vTaskDelete (NULL );
254
249
}
250
+
251
+ void loop () {}
You can’t perform that action at this time.
0 commit comments