Add wifi configuration using parameters and cli

Add console commands to setup wifi.
Add a parameter for choosing between STA and AP mode.
Add parameters for udp ports.
Remove WIFI_ENABLED macro.
This commit is contained in:
Oleg Kalachev
2026-01-22 22:58:43 +03:00
parent c0f3301da4
commit dd3575174b
9 changed files with 95 additions and 40 deletions

View File

@@ -3,8 +3,6 @@
// MAVLink communication
#if WIFI_ENABLED
#include <MAVLink.h>
#include "util.h"
@@ -275,5 +273,3 @@ void sendMavlinkPrint() {
}
mavlinkPrintBuffer.clear();
}
#endif