Explorar o código

Use the longest filename instead of just using the long filename in M27

Alex Voinea %!s(int64=3) %!d(string=hai) anos
pai
achega
26f62f042e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Firmware/cardreader.cpp

+ 1 - 1
Firmware/cardreader.cpp

@@ -498,7 +498,7 @@ void CardReader::getStatus()
           SERIAL_PROTOCOLLNPGM("Print saved");
       }
       else {
-          SERIAL_PROTOCOLLN(longFilename);
+          SERIAL_PROTOCOLLN(LONGEST_FILENAME);
           SERIAL_PROTOCOLRPGM(_N("SD printing byte "));////MSG_SD_PRINTING_BYTE
           SERIAL_PROTOCOL(sdpos);
           SERIAL_PROTOCOL('/');