diff --git a/api/serial/serial.mjs b/api/serial/serial.mjs index 494977f..0d8efce 100644 --- a/api/serial/serial.mjs +++ b/api/serial/serial.mjs @@ -112,6 +112,7 @@ class SerialManager { } safeStartDelay(sec) { + return if (this.attempting || !this.core) return this.log('info', `Attempting to connect with display in ${sec} second${sec > 1 ? 's': ''}.`) @@ -119,6 +120,7 @@ class SerialManager { } safeStart() { + return false this.start() .then( serial => { diff --git a/package.json b/package.json index 1af9e7d..9bb6f15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "church_streamer", - "version": "1.0.1", + "version": "1.0.2", "description": "", "main": "index.mjs", "scripts": {