aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsm/gps.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsm/gps.h')
-rw-r--r--src/fsm/gps.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/fsm/gps.h b/src/fsm/gps.h
index 82f8a77..b1f023a 100644
--- a/src/fsm/gps.h
+++ b/src/fsm/gps.h
@@ -27,15 +27,13 @@
#ifndef __GPS_H_
#define __GPS_H_
-/* Setup GPS receiver over I2C and parse time */
+/* Setup GPS receiver over USART and parse time */
-/* I2C connections:
- * SCL on PB6
- * SDA on PB9
+/* USART connections:
+ * board TX to GPS RX on PD8
+ * board RX to GPS TX on PD9
*/
-#define GPS_I2C_ADDR 0x42 // I2C address of GPS receiver
-
struct gps_time_s {
uint16_t year; // Year, range 1999..2099 (UTC)
uint8_t month; // Month, range 1..12 (UTC)