From bfa163dbae11f22848b006ce6329d8b0628b228f Mon Sep 17 00:00:00 2001 From: Dan Date: Sun, 24 Dec 2023 20:05:26 -0800 Subject: [PATCH] fixes for serial for chromadeck --- VortexEngine/src/Serial/Serial.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VortexEngine/src/Serial/Serial.cpp b/VortexEngine/src/Serial/Serial.cpp index c5ec65be2d..3281e72823 100644 --- a/VortexEngine/src/Serial/Serial.cpp +++ b/VortexEngine/src/Serial/Serial.cpp @@ -55,15 +55,15 @@ bool SerialComs::checkSerial() if (!Vortex::vcallbacks()->serialCheck()) { return false; } - Vortex::vcallbacks()->serialBegin(9600); + Vortex::vcallbacks()->serialBegin(115200); #else // This will check if the serial communication is open - if (!Serial) { + if (!Serial.available()) { // serial is not connected return false; } // Begin serial communications - Serial.begin(9600); + Serial.begin(115200); #endif #endif // serial is now connected