mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-03-21 13:43:25 +00:00
Connect to Klipper (although websockets are broken :( )
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "lvgl.h"
|
||||
#include "wifi_setup.h"
|
||||
#include "../conf/global_config.h"
|
||||
|
||||
#include "WiFi.h"
|
||||
@@ -149,4 +150,10 @@ void wifi_init(){
|
||||
lv_timer_handler();
|
||||
lv_task_handler();
|
||||
}
|
||||
}
|
||||
|
||||
void wifi_ok(){
|
||||
if (WiFi.status() != WL_CONNECTED){
|
||||
wifi_init();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user