--- a/thermferm/websocket.h Sun May 05 16:31:47 2024 +0200 +++ b/thermferm/websocket.h Sun May 05 17:24:54 2024 +0200 @@ -24,6 +24,11 @@ void ws_check(void); /** + * @brief Stop websocket thread by setting the shutdown flag and sending a cancel service. + */ +void my_ws_stop(void); + +/** * @brief The websockets server thread. */ void *my_ws_loop(void *);