aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/GPIO
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/GPIO')
-rw-r--r--src/common/GPIO/usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/GPIO/usart.c b/src/common/GPIO/usart.c
index 6796142..02f2f07 100644
--- a/src/common/GPIO/usart.c
+++ b/src/common/GPIO/usart.c
@@ -131,7 +131,7 @@ int usart_get_nmea_sentence(char *nmea) {
}
int usart_get_ccounter_msg(char *msg) {
- return xQueueReceive(usart_ccounter_queue, msg, portMAX_DELAY);
+ return xQueueReceive(usart_ccounter_queue, msg, pdMS_TO_TICKS(2000));
}
static void usart_clear_ccounter_buffer(void) {