From 7805e2fd7e4e1920c6a525f71fda638eaaff24e2 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 7 Apr 2014 20:17:37 +0100 Subject: [PATCH] SensorTag node - fix accelerometer --- hardware/sensorTag/79-sensorTag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/sensorTag/79-sensorTag.js b/hardware/sensorTag/79-sensorTag.js index b63a6eba..8f42a94d 100644 --- a/hardware/sensorTag/79-sensorTag.js +++ b/hardware/sensorTag/79-sensorTag.js @@ -118,7 +118,7 @@ function enable(node) { } else { node.stag.unnotifyHumidity(function() {}); } - if (node.accelometer){ + if (node.accelerometer){ node.stag.notifyAccelerometer(function() {}); } else { node.stag.unnotifyAccelerometer(function() {});