diff options
Diffstat (limited to 'driver_tsip.c')
-rw-r--r-- | driver_tsip.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/driver_tsip.c b/driver_tsip.c index 3c99138a..ea4250bb 100644 --- a/driver_tsip.c +++ b/driver_tsip.c @@ -1067,11 +1067,10 @@ static bool tsip_speed_switch(struct gps_device_t *session, static void tsip_mode(struct gps_device_t *session, int mode) { - unsigned char buf[16]; - if (mode == MODE_NMEA) { - /* First turn on the NMEA messages we want */ + unsigned char buf[16]; + /* First turn on the NMEA messages we want */ putbyte(buf, 0, 0x00); /* subcode 0 */ putbyte(buf, 1, 0x01); /* 1-second fix interval */ putbyte(buf, 2, 0x00); /* Reserved */ |