Skip to content

Commit

Permalink
Merge branch 'master' into gloves
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Sep 14, 2024
2 parents 9a784db + d4745c9 commit b6f1dd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions VortexEngine/src/Serial/Serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ void SerialComs::write(const char *msg, ...)
Vortex::vcallbacks()->serialWrite(buf, len);
#else
Serial.write(buf, len);
Serial.flush();
#endif
va_end(list);
#endif
Expand All @@ -138,6 +139,7 @@ void SerialComs::write(ByteStream &byteStream)
#else
Serial.write((const uint8_t *)&size, sizeof(size));
Serial.write((const uint8_t *)byteStream.rawData(), byteStream.rawSize());
Serial.flush();
#endif
#endif
}
Expand Down

0 comments on commit b6f1dd5

Please sign in to comment.