Skip to content

Commit 82e8f4c

Browse files
committed
fix compile errors
1 parent 6c8a230 commit 82e8f4c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

examples/03.Plane/03.Plane.ino

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
#error "TODO: This file need to be converted to madflight version 2"
1+
#warning "TODO: This file need to be converted to madflight version 2"
2+
3+
void setup() {}
4+
void loop() {}
5+
6+
#if 0
27

38
/*#########################################################################################################################
49

@@ -450,3 +455,5 @@ void out_Mixer() {
450455
//0.0 is zero throttle if connecting to ESC for conventional PWM, 1.0 is max throttle
451456
//0.5 is centered servo, 0.0 and 1.0 are servo at their extreme positions as set with SERVO_MIN and SERVO_MAX
452457
}
458+
459+
#endif

src/madflight/hal/hal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

33
#include "MF_I2C.h"
4-
#include "MF_serial.h"
4+
#include "MF_Serial.h"
55
#include <SPI.h> //TODO remove this
66

77
#if defined ARDUINO_ARCH_ESP32

0 commit comments

Comments
 (0)