Skip to content

Commit

Permalink
fi: put target heading failing (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 authored Jun 4, 2021
1 parent bbd8cfc commit e6467b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raymarinen2k.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module.exports = function(app) {

} else {
var new_value = Math.trunc(degsToRad(value) * 10000)
var msg = util.format(command_format, (new Date()).toISOString(), default_src,
var msg = util.format(heading_command, (new Date()).toISOString(), default_src,
autopilot_dst, padd((new_value & 0xff).toString(16), 2), padd(((new_value >> 8) & 0xff).toString(16), 2))

sendN2k([msg])
Expand Down

0 comments on commit e6467b8

Please sign in to comment.