From d72bab16d592e943b35a3118f416c1b8f004a433 Mon Sep 17 00:00:00 2001 From: "Morten H. Frederiksen" Date: Sat, 21 May 2016 23:01:04 +0200 Subject: [PATCH] Fix missing log output for pin 0 re issue #338 Signed-off-by: Morten H. Frederiksen --- lib/robot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/robot.js b/lib/robot.js index 18356c3..a167c73 100644 --- a/lib/robot.js +++ b/lib/robot.js @@ -359,7 +359,7 @@ Robot.prototype.startDevice = function(device, callback) { var log = this.log; var str = "Starting device '" + device.name + "'"; - if (device.pin) { + if (device.pin || device.pin === 0) { str += " on pin " + device.pin; }