small fix

This commit is contained in:
Marcel Peterkau 2022-08-24 07:30:51 +02:00
parent 26942dd946
commit a30f56ff58

View File

@ -748,7 +748,7 @@ void SystemShutdown()
if (shutdown_delay == 0) if (shutdown_delay == 0)
{ {
shutdown_delay = millis() + SHUTDOWN_DELAY_MS; shutdown_delay = millis() + SHUTDOWN_DELAY_MS;
Serial.printf("Shutdown requested - Restarting in %d seconds\n", SHUTDOWN_DELAY_MS); Serial.printf("Shutdown requested - Restarting in %d seconds\n", SHUTDOWN_DELAY_MS/1000);
} }
if (shutdown_delay < millis()) if (shutdown_delay < millis())
{ {