#define BUZZER_OFF() cbi(PORTA, 4)
/* highest priority */
-#define LED_PRIO 170
-#define TIME_PRIO 160
-#define BEEP_PRIO 130
+#define LED_PRIO 160
+#define TIME_PRIO 140
+#define BEEP_PRIO 120
#define SPI_PRIO 100 /* users of spi_servo must have lower prio */
+#define XBEE_PRIO 80
+#define LOW_PRIO 60
/* lowest priority */
#define MAX_POWER_LEVEL 5
struct rdline rdl;
char prompt[RDLINE_PROMPT_SIZE];
- struct callout_mgr mainloop_cm;
struct callout_mgr intr_cm;
struct callout spi_timer;
struct callout beep_timer;
+ struct callout xbee_rx_poll_timer;
/* log */
uint8_t logs[NB_LOGS+1];
extern volatile uint32_t global_ms;
void bootloader(void);
-