mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Disable uIP connection polling for now - this seems to corrupt the buffers.
This commit is contained in:
@@ -79,15 +79,15 @@ void TELNETServerApp_Callback(void)
|
||||
{
|
||||
case TELNET_STATE_SendHeader:
|
||||
/* Copy over and send the TELNET welcome message upon first connection */
|
||||
strncpy_P(AppData, WelcomeHeader, strlen_P(WelcomeHeader));
|
||||
uip_send(AppData, strlen_P(WelcomeHeader));
|
||||
strcpy_P(AppData, WelcomeHeader);
|
||||
uip_send(AppData, strlen(AppData));
|
||||
|
||||
AppState->TELNETServer.NextState = TELNET_STATE_SendMenu;
|
||||
break;
|
||||
case TELNET_STATE_SendMenu:
|
||||
/* Copy over and send the TELNET menu to the client */
|
||||
strncpy_P(AppData, TELNETMenu, strlen_P(TELNETMenu));
|
||||
uip_send(AppData, strlen_P(TELNETMenu));
|
||||
strcpy_P(AppData, TELNETMenu);
|
||||
uip_send(AppData, strlen(AppData));
|
||||
|
||||
AppState->TELNETServer.NextState = TELNET_STATE_GetCommand;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user