X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=main.h;h=0f87a4f67da9297ebcf023dbecf73e4e2f45a55a;hp=d64039b72663064b07d87b8e4735be7c4e454e8f;hb=c18c4cbfa3c43bc1f4fd1743f77baf82c18437f6;hpb=6c945eadabc434b12d6b14c3edb1944bcd0707b0 diff --git a/main.h b/main.h index d64039b..0f87a4f 100644 --- a/main.h +++ b/main.h @@ -46,6 +46,7 @@ /** ERROR NUMS */ #define E_USER_DEFAULT 194 #define E_USER_XBEE 195 +#define E_USER_RC_PROTO 196 #define LED1_ON() sbi(PORTA, 2) #define LED1_OFF() cbi(PORTA, 2) @@ -87,3 +88,4 @@ extern struct xbeeboard xbeeboard; extern volatile uint32_t global_ms; void bootloader(void); +uint16_t get_time_ms(void);