liyi преди 6 месеца
родител
ревизия
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);"
 ;