This commit is contained in:
2025-08-05 02:05:39 -04:00
parent 425f727b03
commit 1be4642d43

View File

@@ -119,9 +119,9 @@ void task2(void *pvParameters) {
}
void task_restart(void *pvParameters) {
printf("Restarting system in %d seconds...\n", cntdn);
while (1) {
vTaskDelay(cntdn * 1000); // Delay for 10 seconds
printf("Restarting system in %d seconds...\n", cntdn);
esp_restart();
}
}