Fix binary protocol with one serial port (#13270)
- The `sdcard.transfer_port` variable is Marlin's internal serial port index, not the physical serial port number. - Added packet number to "ok" response so hosts don't need to wait for the ACK. - Renamed feature to `BINARY_FILE_TRANSFER`, as the speed up is only consequential to the ability to transfer binaries over serial.
This commit is contained in:
committed by
Scott Lahteine
parent
ab781de5a0
commit
4ab433d391
@ -51,7 +51,7 @@ card_flags_t CardReader::flag;
|
||||
char CardReader::filename[FILENAME_LENGTH], CardReader::longFilename[LONG_FILENAME_LENGTH];
|
||||
int8_t CardReader::autostart_index;
|
||||
|
||||
#if ENABLED(FAST_FILE_TRANSFER) && NUM_SERIAL > 1
|
||||
#if ENABLED(BINARY_FILE_TRANSFER) && NUM_SERIAL > 1
|
||||
int8_t CardReader::transfer_port;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user