Serial stuff

This commit is contained in:
Mark Qvist 2014-12-19 00:15:56 +01:00
parent 35c504703c
commit ef36e43e96
2 changed files with 5 additions and 6 deletions

8
main.c
View File

@ -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

View File

@ -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"));