This commit is contained in:
Skylar Grant 2022-12-06 00:29:03 -05:00
parent 5f4e1cfb41
commit 8111fafbad
1 changed files with 1 additions and 3 deletions

View File

@ -167,7 +167,7 @@ const functions = {
// Initializes rpi-gpio, or resolves if not on a raspberry pi // Initializes rpi-gpio, or resolves if not on a raspberry pi
init(gpio) { init(gpio) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
// Boot About/Info // Boot/About/Info
console.log(` console.log(`
== Lennox Winslow PS40 == Lennox Winslow PS40
== Pellet Stove Control Panel == Pellet Stove Control Panel
@ -182,8 +182,6 @@ const functions = {
== == PAUSETIME=${process.env.PAUSETIME} == == PAUSETIME=${process.env.PAUSETIME}
== == DEBUG=${process.env.DEBUG} == == DEBUG=${process.env.DEBUG}
== == ONPI=${process.env.ONPI}`); == == ONPI=${process.env.ONPI}`);
// Write the current env vars to console
console.log(`E`);
// Set up GPIO 4 (pysical pin 7) as output, then call functions.auger.ready() // Set up GPIO 4 (pysical pin 7) as output, then call functions.auger.ready()
if (process.env.ONPI == 'true') { if (process.env.ONPI == 'true') {
// Init the Auger pin // Init the Auger pin