mirror of
https://github.com/markqvist/OpenModem.git
synced 2024-10-01 03:15:46 -04:00
Fixed GPS serial querying
This commit is contained in:
parent
4bc42d6379
commit
a453fc9544
2
device.h
2
device.h
@ -5,7 +5,7 @@
|
||||
|
||||
// Version info
|
||||
#define MAJ_VERSION 0x01
|
||||
#define MIN_VERSION 0x04
|
||||
#define MIN_VERSION 0x05
|
||||
|
||||
// CPU settings
|
||||
#define TARGET_CPU m1284p
|
||||
|
@ -84,7 +84,7 @@ ISR(USART0_RX_vect) {
|
||||
char c = uart0_getchar_nowait();
|
||||
fifo_push(&uart0FIFO, c);
|
||||
} else {
|
||||
//uart0_getchar_nowait();
|
||||
uart0_getchar_nowait();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -95,7 +95,7 @@ ISR(USART1_RX_vect) {
|
||||
char c = uart1_getchar_nowait();
|
||||
fifo_push(&uart1FIFO, c);
|
||||
} else {
|
||||
//uart1_getchar_nowait();
|
||||
uart1_getchar_nowait();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user