Cleanup
This commit is contained in:
parent
5f4e1cfb41
commit
8111fafbad
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user