Skip to content

Commit

Permalink
Add 4800 baud rate. Closes #20.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezod committed Oct 6, 2023
1 parent a27b41c commit fb7946f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gps_uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

#define RX_BUF_SIZE 1024

static const int gps_baudrates[5] = {9600, 19200, 38400, 57600, 115200};
static int current_gps_baudrate = 0;
static const int gps_baudrates[6] = {4800, 9600, 19200, 38400, 57600, 115200};
static int current_gps_baudrate = 1;

typedef struct {
bool valid;
Expand Down

0 comments on commit fb7946f

Please sign in to comment.