mirror of
https://github.com/okalachev/flix.git
synced 2026-02-17 07:31:56 +00:00
Implement wi-fi configuration
Add console commands to setup wi-fi Add parameter for choosing between STA and AP mode. Add parameter for udp ports. Remove WIFI_ENABLED macro.
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
#include "Arduino.h"
|
||||
#include "wifi.h"
|
||||
|
||||
#define WIFI_ENABLED 1
|
||||
|
||||
extern float t, dt;
|
||||
extern float controlRoll, controlPitch, controlYaw, controlThrottle, controlMode;
|
||||
extern Vector rates;
|
||||
@@ -73,3 +71,4 @@ void calibrateAccel() { print("Skip accel calibrating\n"); };
|
||||
void printIMUCalibration() { print("cal: N/A\n"); };
|
||||
void printIMUInfo() {};
|
||||
void printWiFiInfo() {};
|
||||
void configWiFi(bool, const char*, const char*) { print("Skip WiFi config\n"); };
|
||||
|
||||
Reference in New Issue
Block a user