simulator: publish GPS antenna heading offset as NAN

This commit is contained in:
Paul Riseborough 2018-09-02 21:03:18 +10:00 committed by Daniel Agar
parent 6a3692cf6b
commit cf962afafe
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ GPSSIM::GPSSIM(bool fake_gps, bool enable_sat_info,
/* we need this potentially before it could be set in task_main */
g_dev = this;
_report_gps_pos.heading = NAN;
_report_gps_pos.heading_offset = NAN;
/* create satellite info data object if requested */
if (enable_sat_info) {