Add C parameter to M27 to include the long filename

In answer to #10001

Add an option to retrieve the currently open file name (long filename if possible).
This commit is contained in:
TheSFReader
2018-03-11 11:57:31 +01:00
committed by Scott Lahteine
parent 2168d6ac25
commit 2e43438e0c
4 changed files with 59 additions and 11 deletions

View File

@@ -63,6 +63,11 @@ public:
#endif
);
void printingHasFinished();
void printFilename(
#if NUM_SERIAL > 1
const int8_t port = -1
#endif
);
#if ENABLED(LONG_FILENAME_HOST_SUPPORT)
void printLongPath(char *path