Support MAVLink console

Implement receiving and sending SERIAL_CONTROL message
Use global defined print function instead of Serial.printf
This commit is contained in:
Oleg Kalachev
2025-02-18 10:33:01 +03:00
parent bfef7bd26a
commit d60628e14d
13 changed files with 103 additions and 55 deletions

View File

@@ -22,7 +22,7 @@ float motors[4]; // normalized motors thrust in range [-1..1]
void setup() {
Serial.begin(SERIAL_BAUDRATE);
Serial.println("Initializing flix");
print("Initializing flix");
disableBrownOut();
setupParameters();
setupLED();
@@ -34,7 +34,7 @@ void setup() {
setupIMU();
setupRC();
setLED(false);
Serial.println("Initializing complete");
print("Initializing complete");
}
void loop() {