pull/206/merge^2
dannybackx 8 years ago
parent 49ff52d070
commit 416538ff39
  1. 11
      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);

Loading…
Cancel
Save