liyi месяцев назад: 6
Родитель
Сommit
05ed1d5e33
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      f407/applications/html_h/ws.h

+ 2 - 2
f407/applications/html_h/ws.h

@@ -140,9 +140,9 @@ const char *p_ws =
     "    activePageIntervalId = setInterval(pageFunction, intervalTime);\n"
     "}\n"
     
-    "ws = new WS('ws://' + window.location.host + '/ws', on_ws_msg);\n"
+    " ws = new WS('ws://' + window.location.host + '/ws', on_ws_msg);\n"
     
-    "// ws = new WS('ws://192.168.1.166/ws', on_ws_msg);\n"
+    " //ws = new WS('ws://192.168.1.166/ws', on_ws_msg);\n"
     " // ws = new WS('ws://192.168.1.79/websocket/TMS-WebSocket', on_ws_msg);"
 ;