From 26f62f042ee0a0448eba6310547d8f47219e6218 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Sun, 25 Oct 2020 19:32:03 +0200 Subject: [PATCH] Use the longest filename instead of just using the long filename in M27 --- Firmware/cardreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/cardreader.cpp b/Firmware/cardreader.cpp index fdef1cd4..0a6fdeea 100644 --- a/Firmware/cardreader.cpp +++ b/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('/');