fix logging when resetting

This commit is contained in:
ansuz 2017-06-28 12:08:16 +02:00
parent 9d83214158
commit 7a7307d560

View File

@ -1552,7 +1552,10 @@ define([
common.arePinsSynced(function (err, yes) { common.arePinsSynced(function (err, yes) {
if (!yes) { if (!yes) {
common.resetPins(function (err) { common.resetPins(function (err) {
if (err) { console.error(err); } if (err) {
console.error("Pin Reset Error");
return console.error(err);
}
console.log('RESET DONE'); console.log('RESET DONE');
}); });
} }