From ef36e43e96baf91e82ebdb252951812eb5ee26ba Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 19 Dec 2014 00:15:56 +0100 Subject: [PATCH] Serial stuff --- main.c | 10 +++++----- protocol/SimpleSerial.c | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/main.c b/main.c index 15abf3f..9ff480b 100644 --- a/main.c +++ b/main.c @@ -39,14 +39,14 @@ AX25Ctx AX25; void init(void) { sei(); - serial_init(&serial); - stdout = &serial.uart0; - stdin = &serial.uart0; - AFSK_init(&modem); ax25_init(&AX25, &modem.fd, ax25_callback); - + + serial_init(&serial); + stdout = &serial.uart0; + stdin = &serial.uart0; + #if SERIAL_PROTOCOL == PROTOCOL_KISS kiss_init(&AX25, &modem, &serial); #endif diff --git a/protocol/SimpleSerial.c b/protocol/SimpleSerial.c index e264f93..410f186 100644 --- a/protocol/SimpleSerial.c +++ b/protocol/SimpleSerial.c @@ -98,7 +98,6 @@ void ss_init(AX25Ctx *ax25) { ss_loadSettings(); SS_INIT = true; if (VERBOSE) { - delay_ms(300); printf_P(PSTR("---------------\n")); printf_P(PSTR("MicroAPRS v1.0b\n")); printf_P(PSTR("unsigned.io/microaprs\n"));