X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=main.h;h=ba0836e13998da3cc695e62444f9575a835744df;hp=18ddf0514d8c19c763a1599512b4e68b717b6dfc;hb=6ee8078b5fe7f8310961a072a5d9637230f2ded8;hpb=84514fdc4e37939d888eddf89956225ef20b57fc diff --git a/main.h b/main.h index 18ddf05..ba0836e 100644 --- a/main.h +++ b/main.h @@ -45,6 +45,7 @@ /** ERROR NUMS */ #define E_USER_DEFAULT 194 +#define E_USER_XBEE 195 #define LED1_ON() sbi(PORTA, 2) #define LED1_OFF() cbi(PORTA, 2) @@ -64,6 +65,7 @@ #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 @@ -73,7 +75,6 @@ struct xbeeboard { 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;