Use SENDLINE instead of SEND to create directory name on anycubic 1.0 display.

This commit is contained in:
Knutwurst
2023-05-30 16:07:26 +02:00
parent e0d858d812
commit 75ffa32980

View File

@@ -1031,9 +1031,9 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
SENDLINE_PGM(".gcode"); SENDLINE_PGM(".gcode");
#else #else
SEND_PGM("/"); SEND_PGM("/");
SEND(currentFileList.shortFilename()); SENDLINE(currentFileList.shortFilename());
SEND_PGM("/"); SEND_PGM("/");
SENDLINE(outputString); SENDLINE(currentFileList.filename());
#endif #endif
SERIAL_ECHO(count); SERIAL_ECHO(count);
SERIAL_ECHOPGM(": /"); SERIAL_ECHOPGM(": /");