mirror of
https://github.com/markqvist/OpenModem.git
synced 2024-12-24 23:19:36 -05:00
Serial stuff
This commit is contained in:
parent
35c504703c
commit
ef36e43e96
10
main.c
10
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
|
||||
|
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user