pigpiod html lint ===

This commit is contained in:
Dave Conway-Jones
2017-05-24 19:45:31 +01:00
parent a00fcb3726
commit 4768ecc16c
5 changed files with 91 additions and 28 deletions

View File

@@ -458,7 +458,7 @@
else if (this.out === "ser") { return this.name || "Servo: "+bcm2pin[this.pin]; }
else {
var suf = "";
if (this.set == true) { suf = (this.level === "1") ? "¹ " : "₀ "; }
if (this.set === true) { suf = (this.level === "1") ? "¹ " : "₀ "; }
return this.name || "PIN: " + bcm2pin[this.pin] + suf ;
}
},