From 024acf69d29565cbb6772e1247884ecdcc0d3f01 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Sun, 25 Feb 2024 21:55:52 +0000 Subject: [PATCH] disable serial for now --- api/serial/serial.mjs | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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": {