From 2a15e9a535a36376bd04731ffeca716ad5384476 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Tue, 12 Nov 2013 23:36:48 +0100 Subject: [PATCH 1/1] display prompt after executing commands --- main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; } -- 2.20.1