aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/server.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-27 17:42:54 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-27 17:42:54 +0200
commitdd1d0cf34a44f70793dcb52fd9ef90d9274b55d1 (patch)
treea88d6a1161c4a14aa7387a976bdd1833f029f077 /stm32f091/server.c
parent12704850c9f4cf7410ecf85116da9d23fc2ce6d6 (diff)
move esp setup to setup.c
Diffstat (limited to 'stm32f091/server.c')
-rw-r--r--stm32f091/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stm32f091/server.c b/stm32f091/server.c
index a06727c..1b677c2 100644
--- a/stm32f091/server.c
+++ b/stm32f091/server.c
@@ -77,8 +77,8 @@ void ws_server_req_incoming(uint8_t* data, size_t size) {
break;
}
case WS_SERVER_LM_IDLE: {
- if (next_few_bytes_are("+IPD")) {
- i += 3; // skip I, P, and D
+ if (next_few_bytes_are("+IPD,")) {
+ i += 4; // skip I, P, D, and comma
g_ws_server_parser.mode = WS_SERVER_LM_IPD_LISTENING;
}
break;