From 416538ff3922167202201bd26b360c10c2cc19de Mon Sep 17 00:00:00 2001 From: dannybackx Date: Mon, 31 Oct 2016 21:33:31 +0100 Subject: [PATCH] Fix --- esp-link/main.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/esp-link/main.c b/esp-link/main.c index a2c40d7..e775de9 100644 --- a/esp-link/main.c +++ b/esp-link/main.c @@ -89,7 +89,6 @@ HttpdBuiltInUrl builtInUrls[] = { { "/wifi/connstatus", cgiWiFiConnStatus, NULL }, { "/wifi/setmode", cgiWiFiSetMode, NULL }, { "/wifi/special", cgiWiFiSpecial, NULL }, - { "/wifi/security", jsonWiFiSecurity, NULL }, { "/wifi/apinfo", cgiApSettingsInfo, NULL }, { "/wifi/apchange", cgiApSettingsChange, NULL }, { "/system/info", cgiSystemInfo, NULL }, @@ -180,15 +179,7 @@ user_init(void) { WEB_Init(); // init the wifi-serial transparent bridge (port 23) - flashConfig.port1_portnumber = 23; - flashConfig.port2_portnumber = 2323; - flashConfig.port1_mode = 0; - flashConfig.port2_mode = 0; - - serbridgeInit(); - serbridgeStart(0, flashConfig.port1_portnumber, flashConfig.port1_mode); - serbridgeStart(1, flashConfig.port2_portnumber, flashConfig.port2_mode); - + serbridgeInit(23, 2323); uart_add_recv_cb(&serbridgeUartCb); #ifdef SHOW_HEAP_USE os_timer_disarm(&prHeapTimer);