1
0
Fork 0

Com: Append new line when flusing serial

Our HID implementation sends fixed-length reports, that will be parsed
by the receiving software.
Serial outputs are more geared towards debugging, thus splitting the
messages sent is much more usable.
This commit is contained in:
trotFunky 2024-03-07 21:49:14 +00:00
parent e0b954e7ad
commit 7964b47174

View file

@ -20,6 +20,7 @@ namespace Com {
usb_rawhid_send(buffer, 0);
#else
Serial.write((const char*)buffer);
Serial.write('\n');
#endif
/* Clear the buffer. */
memset(buffer, 0, sizeof(buffer));