|
@@ -34,7 +34,7 @@
|
34
|
34
|
// command sending macro's with debugging capability
|
35
|
35
|
#define SEND_PGM(x) send_P(PSTR(x))
|
36
|
36
|
#define SENDLINE_PGM(x) sendLine_P(PSTR(x))
|
37
|
|
-#define SEND_PGM_VAL(x,y) (send_P(PSTR(x)), sendLine(i8tostr3rj(y)))
|
|
37
|
+#define SEND_PGM_VAL(x,y) (send_P(PSTR(x)), sendLine(i16tostr3rj(y)))
|
38
|
38
|
#define SEND(x) send(x)
|
39
|
39
|
#define SENDLINE(x) sendLine(x)
|
40
|
40
|
#if ENABLED(ANYCUBIC_LCD_DEBUG)
|
|
@@ -496,12 +496,12 @@ void AnycubicTFTClass::RenderCurrentFolder(uint16_t selectedNumber) {
|
496
|
496
|
SEND_PGM("/");
|
497
|
497
|
SENDLINE(currentFileList.shortFilename());
|
498
|
498
|
SEND_PGM("/");
|
499
|
|
- SENDLINE(currentFileList.longFilename());
|
|
499
|
+ SENDLINE(currentFileList.filename());
|
500
|
500
|
|
501
|
501
|
}
|
502
|
502
|
else {
|
503
|
503
|
SENDLINE(currentFileList.shortFilename());
|
504
|
|
- SENDLINE(currentFileList.longFilename());
|
|
504
|
+ SENDLINE(currentFileList.filename());
|
505
|
505
|
}
|
506
|
506
|
}
|
507
|
507
|
}
|