altos: typo in ao_monitor prevented ground station from including code
authorKeith Packard <keithp@keithp.com>
Tue, 5 Jun 2012 03:53:06 +0000 (20:53 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 5 Jun 2012 03:53:06 +0000 (20:53 -0700)
This created ground station software that couldn't actually receive
and report telemetry packets.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_monitor.c

index 830464d8643a34db6a8541370651a637cfcf5ad7..4ca641b74d7ed59307b4590b8d2d5394fefa3c6b 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "ao.h"
 #include "ao_telem.h"
+#include "ao_flight.h"
 
 #if !HAS_MONITOR
 #error Must define HAS_MONITOR to 1
@@ -27,7 +28,7 @@
 #endif
 
 #ifndef HAS_MONITOR_PUT
-#define HAS_MONIOTOR_PUT 1
+#define HAS_MONITOR_PUT 1
 #endif
 
 #ifndef AO_MONITOR_LED