mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
add button to force fetch NTP time
This commit is contained in:
@@ -252,6 +252,9 @@ wss.on('connection', function connection(ws) {
|
||||
case "destroy":
|
||||
console.log("[INFO] Destroy");
|
||||
break;
|
||||
case "forcentp":
|
||||
console.log("[INFO] getting ntp time");
|
||||
break;
|
||||
default:
|
||||
console.log("[WARN] Unknown command ");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user