Przeglądaj źródła

Update gps_uart.h

Haisenteck 2 lat temu
rodzic
commit
f66db0ee73
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      gps_uart.h

+ 3 - 0
gps_uart.h

@@ -4,6 +4,7 @@
 #include <notification/notification_messages.h>
 
 #define RX_BUF_SIZE 1024
+#define UART_CH (FuriHalSerialIdUsart)
 
 static const int gps_baudrates[6] = {4800, 9600, 19200, 38400, 57600, 115200};
 static int current_gps_baudrate = 1;
@@ -36,6 +37,8 @@ typedef struct {
     bool changing_baudrate;
     bool backlight_on;
     SpeedUnit speed_units;
+	
+	FuriHalSerialHandle* serial_handle;
 
     GpsStatus status;
 } GpsUart;