Connect to Klipper (although websockets are broken :( )

This commit is contained in:
suchmememanyskill
2023-11-12 00:18:54 +01:00
parent 20e1cdbc46
commit bf892d6855
9 changed files with 195 additions and 29 deletions

View File

@@ -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();
}
}