1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

SensorTag node - fix accelerometer

This commit is contained in:
Nick O'Leary 2014-04-07 20:17:37 +01:00
parent e19599c868
commit 7805e2fd7e

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