Cast 0 as byte before calling Serial.write.

This commit is contained in:
Maxwell Pray
2023-07-11 12:47:57 -07:00
parent 6e15d0a1f0
commit f98cc75552
+1 -1
View File
@@ -26,7 +26,7 @@ namespace NotebookAdapter {
case COMMAND_QUERY: case COMMAND_QUERY:
if (command_mode) { if (command_mode) {
Serial.print(COMMAND_QUERY_PAYLOAD); Serial.print(COMMAND_QUERY_PAYLOAD);
Serial.write(0); Serial.write((byte)0);
} }
break; break;