diff --git a/main/gps.go b/main/gps.go index c0b5c152..818f2d01 100644 --- a/main/gps.go +++ b/main/gps.go @@ -1862,7 +1862,7 @@ func makeAHRSGDL90Report() { if isAHRSInvalidValue(mySituation.AHRSGyroHeading) { hdg = roundToInt16(mySituation.AHRSGyroHeading * 10) // TODO westphae: switch to AHRSMagHeading? } else { - hdg = rountToInt16(mySituation.GPSTrueCourse) + hdg = roundToInt16(mySituation.GPSTrueCourse) } if !isAHRSInvalidValue(mySituation.AHRSSlipSkid) { slip_skid = roundToInt16(-mySituation.AHRSSlipSkid * 10)