fix log types in command line
[protos/xbee-avr.git] / main.c
diff --git a/main.c b/main.c
index 11fd442..a0839d2 100644 (file)
--- a/main.c
+++ b/main.c
@@ -89,7 +89,7 @@ void bootloader(void)
 }
 
 /* return time in milliseconds on unsigned 16 bits */
-static uint16_t get_time_ms(void)
+uint16_t get_time_ms(void)
 {
        uint16_t ms;
        uint8_t flags;
@@ -182,6 +182,8 @@ int main(void)
 
        xbeeapp_init();
 
+       rc_proto_init();
+
        sei();
 
        eeprom_load_config();