Skip to content

Commit e8d6246

Browse files
committed
make compiler happier
1 parent bc978d5 commit e8d6246

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp/arduino/Godmode.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ class GodmodeState {
5252
GodmodeState() {
5353
reset();
5454
for (int i = 0; i < NUM_SERIAL_PORTS; ++i) {
55-
serialPort[i] = {"", "", 0};
55+
serialPort[i].dataIn = "";
56+
serialPort[i].dataOut = "";
57+
serialPort[i].readDelayMicros = 0;
5658
}
5759
}
5860

0 commit comments

Comments
 (0)