This commit is contained in:
2025-08-05 02:00:35 -04:00
parent d783e7cc3c
commit dba16565e2

View File

@@ -115,3 +115,11 @@ void task2(void *pvParameters) {
}
}
void task_restart(void *pvParameters) {
while (1) {
vTaskDelay(10000); // Delay for 10 seconds
printf("Restarting system...\n");
esp_restart();
}
}