aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/gps/gps_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/gps/gps_helper.h')
-rw-r--r--src/drivers/gps/gps_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/gps/gps_helper.h b/src/drivers/gps/gps_helper.h
index d14a95afe..3623397b2 100644
--- a/src/drivers/gps/gps_helper.h
+++ b/src/drivers/gps/gps_helper.h
@@ -62,8 +62,8 @@ protected:
uint8_t _rate_count_lat_lon;
uint8_t _rate_count_vel;
- float _rate_lat_lon;
- float _rate_vel;
+ float _rate_lat_lon = 0.0f;
+ float _rate_vel = 0.0f;
uint64_t _interval_rate_start;
};