diff --git a/main/gen_gdl90.go b/main/gen_gdl90.go index 5dd40301..a656c165 100644 --- a/main/gen_gdl90.go +++ b/main/gen_gdl90.go @@ -452,7 +452,7 @@ func makeSXHeartbeat() []byte { msg[25] = byte(globalStatus.ES_messages_last_minute & 0xFF) // CPU temperature. - v := uint16(float32(10.0)*globalStatus.CPUTemp) + 32768 + v := uint16(float32(10.0) * globalStatus.CPUTemp) msg[26] = byte((v & 0xFF00) >> 8) msg[27] = byte(v * 0xFF)