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

Accelerometer notification not taken do to "accelerometer" incorrect spelling

This commit is contained in:
PINCENT Remi 2014-04-07 14:55:05 +02:00
parent e19599c868
commit 39dcc05c0b

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