Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired.
Change over static strings in the Webserver project to use PROGMEM where possible.
This commit is contained in:
1 parent
92418433a5
commit
aca7863350
8 files changed
+43
-22
No files matched your search
@@ -80,7 +80,9 @@ void uIPManagement_Init(void)
|
||||
HTTPServerApp_Init();
|
||||
|
||||
/* TELNET Server Initialization */
|
||||
#if defined(ENABLE_TELNET_SERVER)
|
||||
TELNETServerApp_Init();
|
||||
#endif
|
||||
}
|
||||
|
||||
/** uIP Management function. This function manages the uIP stack when called while an RNDIS device has been
|
||||
@@ -106,9 +108,11 @@ void uIPManagement_TCPCallback(void)
|
||||
case HTONS(HTTP_SERVER_PORT):
|
||||
HTTPServerApp_Callback();
|
||||
break;
|
||||
#if defined(ENABLE_TELNET_SERVER)
|
||||
case HTONS(TELNET_SERVER_PORT):
|
||||
TELNETServerApp_Callback();
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user