Move interface stuff out of user handlers

This commit is contained in:
Sergio R. Caprile committed 2025-09-08 16:00:44 -03:00
1 parent df994df611
commit 387f875aa1
14 files changed
+321 -241

No files matched your search

+4 -7
View File
@@ -10,9 +10,8 @@ bool mg_wifi_scan(void) {
return false;
}
bool mg_wifi_connect(char *ssid, char *pass) {
(void) ssid;
(void) pass;
bool mg_wifi_connect(struct mg_wifi_data *wifi) {
(void) wifi;
return mg_wifi_scan();
}
@@ -20,10 +19,8 @@ bool mg_wifi_disconnect(void) {
return mg_wifi_scan();
}
bool mg_wifi_ap_start(char *ssid, char *pass, unsigned int channel) {
(void) ssid;
(void) pass;
(void) channel;
bool mg_wifi_ap_start(struct mg_wifi_data *wifi) {
(void) wifi;
return mg_wifi_scan();
}