[gps] Fix relative position (#3328)

This commit is contained in:
Freek van Tienen
2024-07-05 23:12:50 +02:00
committed by GitHub
parent 4359117d16
commit 72fe3fb95a
+2
View File
@@ -335,6 +335,8 @@ void gps_init(void)
gps.last_msg_ticks = 0;
gps.last_msg_time = 0;
gps_relposned.relPosHeading = NAN;
#ifdef GPS_POWER_GPIO
gpio_setup_output(GPS_POWER_GPIO);
GPS_POWER_GPIO_ON(GPS_POWER_GPIO);