diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-28 09:57:50 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-28 09:57:50 +0200 |
commit | 1cac46e7701ef2783aea13d55261582f4d91f2fa (patch) | |
tree | abcd22854d5a9c5303cccc5ba1ccca73e7b8bbbf /stm32f091/setup.c | |
parent | 89e652af2506f7cf7854ce2e6f5b9b97423d1d40 (diff) |
working janky protocol!
Diffstat (limited to 'stm32f091/setup.c')
-rw-r--r-- | stm32f091/setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stm32f091/setup.c b/stm32f091/setup.c index 5b6c6a4..1971809 100644 --- a/stm32f091/setup.c +++ b/stm32f091/setup.c @@ -8,6 +8,7 @@ #include "esp8266.h" #include "setup.h" #include "backlog.h" +#include "server.h" I2C_HandleTypeDef hi2c1 = { .Instance = I2C1, @@ -101,7 +102,7 @@ void ws_io_setup() { ws_esp8266_set_ip(); #endif ws_esp8266_ap_client_mode(); - ws_esp8266_connect(); + do ws_esp8266_connect(); while (g_ws_server_parser.last_response == WS_SERVER_RC_ERR); ws_esp8266_start_tcp_server(); } |