card.transfer_port => transfer_port_index
This commit is contained in:
@ -52,7 +52,7 @@ char CardReader::filename[FILENAME_LENGTH], CardReader::longFilename[LONG_FILENA
|
||||
int8_t CardReader::autostart_index;
|
||||
|
||||
#if ENABLED(BINARY_FILE_TRANSFER) && NUM_SERIAL > 1
|
||||
int8_t CardReader::transfer_port;
|
||||
int8_t CardReader::transfer_port_index;
|
||||
#endif
|
||||
|
||||
// private:
|
||||
|
@ -147,9 +147,9 @@ public:
|
||||
|
||||
#if ENABLED(BINARY_FILE_TRANSFER)
|
||||
#if NUM_SERIAL > 1
|
||||
static int8_t transfer_port;
|
||||
static int8_t transfer_port_index;
|
||||
#else
|
||||
static constexpr int8_t transfer_port = 0;
|
||||
static constexpr int8_t transfer_port_index = 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user