Skip to content

Commit

Permalink
serial fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Jan 10, 2024
1 parent 3346b2f commit fd082a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VortexEngine/src/Serial/Serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bool SerialComs::checkSerial()
Vortex::vcallbacks()->serialBegin(SERIAL_BAUD_RATE);
#else
// This will check if the serial communication is open
if (!Serial.available()) {
if (!Serial) {
// serial is not connected
return false;
}
Expand Down

0 comments on commit fd082a6

Please sign in to comment.