Skip to content

Commit

Permalink
Merge branch 'master' into handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Sep 14, 2024
2 parents b22aec8 + d4745c9 commit e640b70
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 e640b70

Please sign in to comment.