Fix missing log output for pin 0 re issue #338
Signed-off-by: Morten H. Frederiksen <morten@mfd-consult.dk>
This commit is contained in:
parent
44497e932c
commit
d72bab16d5
|
@ -359,7 +359,7 @@ Robot.prototype.startDevice = function(device, callback) {
|
||||||
var log = this.log;
|
var log = this.log;
|
||||||
var str = "Starting device '" + device.name + "'";
|
var str = "Starting device '" + device.name + "'";
|
||||||
|
|
||||||
if (device.pin) {
|
if (device.pin || device.pin === 0) {
|
||||||
str += " on pin " + device.pin;
|
str += " on pin " + device.pin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue