move xbee rx polling in a timer
[protos/xbee-avr.git] / main.c
diff --git a/main.c b/main.c
index c438575..0fb75d1 100644 (file)
--- a/main.c
+++ b/main.c
@@ -166,6 +166,9 @@ int main(void)
                fprintf(stderr, "cannot register default channel\n");
                return -1;
        }
+
+       xbeeapp_init();
+
        sei();
 
        eeprom_load_config();