Fixed compass so it shows on startup again.

This commit is contained in:
2018-07-28 19:06:38 -07:00
parent 6cd95b59cb
commit aa6f3f2d6f

View File

@@ -66,7 +66,7 @@ class SpeedAndHeadingIndication(QtCore.QThread):
self.shown_heading = (self.current_heading + (1.5 * ROTATION_SPEED_MODIFIER)) % 360
self.current_heading_shown_rotation_angle = 0
self.last_current_heading_shown = 0
self.last_current_heading_shown = -1000
self.rotation_direction = 1
self.imu_data = None