aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/esp8266.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-30 11:20:43 +0100
committerlonkaars <loek@pipeframe.xyz>2022-10-30 11:21:00 +0100
commite4f41ef8b56b76214d05bce34ffd5a8896da24c9 (patch)
treeefe55c9ef28e4c787e10a5b85319b242c7525e9a /stm32f091/esp8266.c
parente473fe14614401342cdc3afe3f6deee4831e6e24 (diff)
parentaf008eb04e3a5705eec63839abc5791454e763ce (diff)
finish second merge
Diffstat (limited to 'stm32f091/esp8266.c')
-rw-r--r--stm32f091/esp8266.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm32f091/esp8266.c b/stm32f091/esp8266.c
index 74ec347..8ff9547 100644
--- a/stm32f091/esp8266.c
+++ b/stm32f091/esp8266.c
@@ -77,7 +77,7 @@ void ws_esp8266_ap_client_mode() {
void ws_esp8266_start_tcp_server() {
ws_esp8266_send_seq("AT+CIPSERVER=0\r\n"); // stop tcp server (if running)
ws_esp8266_send_seq("AT+CIPMUX=1\r\n"); // enable multiplexing (allow multiple connections)
- ws_esp8266_send_seq("AT+CIPSERVER=1," WS_SERVER_PORT "\r\n"); // start tcp server
+ ws_esp8266_send_seq("AT+CIPSERVER=1," WS_SERVER_PORT_STR "\r\n"); // start tcp server
}
void ws_esp8266_set_mac() {