From a453fc954492362d0497a66833daa8937b424147 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 1 Jun 2020 21:27:38 +0200 Subject: [PATCH] Fixed GPS serial querying --- device.h | 2 +- hardware/Serial.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device.h b/device.h index f89e2e0..f15efa7 100755 --- a/device.h +++ b/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 diff --git a/hardware/Serial.c b/hardware/Serial.c index dadbad0..ac201a5 100755 --- a/hardware/Serial.c +++ b/hardware/Serial.c @@ -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(); } } }