SensorTag node - fix accelerometer

This commit is contained in:
Nick O'Leary 2014-04-07 20:17:37 +01:00
parent e19599c868
commit 7805e2fd7e
1 changed files with 1 additions and 1 deletions

View File

@ -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() {});