fix logging when resetting
This commit is contained in:
parent
9d83214158
commit
7a7307d560
@ -1552,7 +1552,10 @@ define([
|
||||
common.arePinsSynced(function (err, yes) {
|
||||
if (!yes) {
|
||||
common.resetPins(function (err) {
|
||||
if (err) { console.error(err); }
|
||||
if (err) {
|
||||
console.error("Pin Reset Error");
|
||||
return console.error(err);
|
||||
}
|
||||
console.log('RESET DONE');
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user