Fix serial index types

This commit is contained in:
Scott Lahteine committed 2021-03-10 13:45:53 -06:00
1 parent b75e682c50
commit fe0b770033
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -393,7 +393,7 @@ void GCodeQueue::get_serial_commands() {
* receive buffer (which limits the packet size to MAX_CMD_SIZE).
* The receive buffer also limits the packet size for reliable transmission.
*/
binaryStream[card.transfer_port_index].receive(serial_state[card.transfer_port_index].line_buffer);
binaryStream[card.transfer_port_index.index].receive(serial_state[card.transfer_port_index.index].line_buffer);
return;
}
#endif