SensorTag node - fix accelerometer
This commit is contained in:
parent
e19599c868
commit
7805e2fd7e
|
@ -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() {});
|
||||
|
|
Loading…
Reference in New Issue