Skip to content

Commit

Permalink
Fix CPU status byte bug. Change link to spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyoung committed Jan 1, 2016
1 parent 43b6bf7 commit bb23bd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/gen_gdl90.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func makeOwnshipGeometricAltitudeReport() bool {
/*
"SX" Stratux GDL90 message.
http://hiltonsoftware.com/stratux/StratuxStatusMessage-V01.pdf
http://hiltonsoftware.com/stratux/ for latest version (currently using V104)
*/

Expand Down Expand Up @@ -492,7 +492,7 @@ func makeSXHeartbeat() []byte {
v := uint16(float32(10.0) * globalStatus.CPUTemp)

msg[26] = byte((v & 0xFF00) >> 8)
msg[27] = byte(v * 0xFF)
msg[27] = byte(v & 0xFF)

// Number of ADS-B towers.
num_towers := uint8(len(ADSBTowers))
Expand Down

0 comments on commit bb23bd5

Please sign in to comment.