altosui: Add config and pyro tabs to graph widget
[fw/altos] / src / telemetrum-v2.0 / ao_pins.h
index 47f6dd2ad86fd420a202041fbb121af437249f17..e88566bd0d4bf0f12aadae492510f0c3d5fcc5ca 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef _AO_PINS_H_
 #define _AO_PINS_H_
 
-#define HAS_TASK_QUEUE         1
 
 /* 8MHz High speed external crystal */
 #define AO_HSE                 8000000
@@ -74,6 +73,9 @@
 #define HAS_BEEP               1
 #define HAS_BATTERY_REPORT     1
 #define BEEPER_CHANNEL         4
+#define BEEPER_TIMER           3
+#define BEEPER_PORT            (&stm_gpiob)
+#define BEEPER_PIN             1
 #define HAS_RADIO              1
 #define HAS_TELEMETRY          1
 #define HAS_APRS               1
@@ -155,7 +157,7 @@ struct ao_adc {
 };
 
 #define AO_ADC_DUMP(p) \
-       printf("tick: %5u drogue: %5d main: %5d batt: %5d\n", \
+       printf("tick: %5lu drogue: %5d main: %5d batt: %5d\n", \
               (p)->tick, \
               (p)->adc.sense_a, (p)->adc.sense_m, \
               (p)->adc.v_batt);