From 91062f24ab05f5d58c5fde18d1560528f8a5bc24 Mon Sep 17 00:00:00 2001 From: andreas Date: Thu, 21 Mar 2024 15:36:14 +0100 Subject: [PATCH] correctly handle fixed baud rate for grove gps module --- lib/hardware/GwM5Grove.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hardware/GwM5Grove.in b/lib/hardware/GwM5Grove.in index 69e34f8..35e3a74 100644 --- a/lib/hardware/GwM5Grove.in +++ b/lib/hardware/GwM5Grove.in @@ -18,7 +18,7 @@ This file contains M5 grove definitions. They will be expanded to match the supported groves - Each definition must start with a line start starts with #GROVE + Each definition must start with a line that start starts with #GROVE Afterwards you can use normal C header style $GS$ will be replaced with a grove suffix with _ (empty for first) $G$ will be replaced by the simple grove name (empty for base) @@ -40,7 +40,7 @@ //http://docs.m5stack.com/en/unit/gps #ifdef M5_GPS_UNIT$GS$ GWRESOURCE_USE(GROOVE$G$,M5_GPS_UNIT$GS$) - #define _GWI_SERIAL_GROOVE$GS$ GWSERIAL_TYPE_RX,"9600" + #define _GWI_SERIAL_GROOVE$GS$ GWSERIAL_TYPE_RX,9600 #endif #GROVE