altos: decode cc1120 received packets
[fw/altos] / src / core / ao_monitor.c
index 7960208e89a5b6b1d7130eea03ad4635cccb76f2..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
@@ -267,7 +268,7 @@ set_monitor(void)
 }
 
 __code struct ao_cmds ao_monitor_cmds[] = {
-       { set_monitor,  "m <0 off, 1 old, 20 std>\0Enable/disable radio monitoring" },
+       { set_monitor,  "m <0 off, 1 old, 20 std>\0Set radio monitoring" },
        { 0,    NULL },
 };
 #endif