From d7498169edd3050005817e0338e0cedbef246e07 Mon Sep 17 00:00:00 2001 From: Christopher Young Date: Thu, 17 Nov 2016 19:02:55 -0500 Subject: [PATCH] Misc cleanup. --- main/ry835ai.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/main/ry835ai.go b/main/ry835ai.go index a9db11ff..0aaa7b6a 100644 --- a/main/ry835ai.go +++ b/main/ry835ai.go @@ -79,8 +79,6 @@ type SituationData struct { LastValidNMEAMessageTime time.Time // time valid NMEA message last seen LastValidNMEAMessage string // last NMEA message processed. - mu_Attitude *sync.Mutex - // From BMP180 pressure sensor. Temp float64 Pressure_alt float64 @@ -2066,7 +2064,6 @@ func pollGPS() { func initRY835AI() { mySituation.mu_GPS = &sync.Mutex{} mySituation.mu_GPSPerf = &sync.Mutex{} - mySituation.mu_Attitude = &sync.Mutex{} satelliteMutex = &sync.Mutex{} Satellites = make(map[string]SatelliteInfo)