Skip to content

Commit

Permalink
updated to work with the latest node server
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 committed Nov 6, 2017
1 parent 26ca280 commit 8b7aef0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ module.exports = function(app) {
radius = null
var delta = getAnchorDelta(app, position, 0, radius, true, null);
app.handleMessage(plugin.id, delta)

debug("anchor delta: " + JSON.stringify(delta))

var config = readJson(app, plugin.id)
debug("config: " + util.inspect(config, {showHidden: false, depth: 6}))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "signalk-anchoralarm-plugin",
"version": "1.4.2",
"version": "1.5.0",
"description": "Plugin that checks the vessel position to see if there's anchor drift",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 8b7aef0

Please sign in to comment.