From: Olivier Matz Date: Tue, 12 Nov 2013 22:36:48 +0000 (+0100) Subject: display prompt after executing commands X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2a15e9a535a36376bd04731ffeca716ad5384476;p=protos%2Fxbee-avr.git display prompt after executing commands --- diff --git a/main.c b/main.c index 20d368b..2d280a4 100644 --- a/main.c +++ b/main.c @@ -646,9 +646,6 @@ int main(void) spi_servo_init(); beep_init(); - printf_P(PSTR("\r\n")); - rdline_newline(&xbeeboard.rdl, xbeeboard.prompt); - callout_manager_init(&cm, get_time_ms); //callout_reset(&cm, &t1, 500, PERIODICAL, do_led_blink, NULL); @@ -672,6 +669,10 @@ int main(void) sei(); eeprom_load_config(); + + printf_P(PSTR("\r\n")); + rdline_newline(&xbeeboard.rdl, xbeeboard.prompt); + xbee_mainloop(); return 0; }