Gofmt. Typo fix. Comment change.
@@ -254,7 +254,7 @@ func initGPSSerial() bool {
} else {
// Byte order for UBX configuration is little endian.
- // Set 10 Hz update to make gpsattitude more responsive for ublox7/8.
+ // Set 10 Hz update to make gpsattitude more responsive for ublox7.
updatespeed := []byte{0x64, 0x00, 0x01, 0x00, 0x01, 0x00} // 10 Hz
// Set navigation settings.
@@ -301,7 +301,7 @@ func initGPSSerial() bool {
// SBAS configuration for ublox 6 and higher
p.Write(makeUBXCFG(0x06, 0x16, 8, []byte{0x01, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00}))
//Navigation Rate 10Hz for <= UBX7 2Hz for UBX8
- p.Write(makeUBXCFG(0x06, 0x08, 6, upatespeed))
+ p.Write(makeUBXCFG(0x06, 0x08, 6, updatespeed))
// Message output configuration: UBX,00 (position) on each calculated fix; UBX,03 (satellite info) every 5th fix,
// UBX,04 (timing) every 10th, GGA (NMEA position) every 5th. All other NMEA messages disabled.
