mirror of
https://github.com/okalachev/flix.git
synced 2026-02-18 08:02:36 +00:00
Support MAVLink console
Implement receiving and sending SERIAL_CONTROL message Use global defined print function instead of Serial.printf
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user