Add C parameter to M27 to get the current filename

In answer to #10001

Add an option to retrieve the currently open file name (long filename if possible).
This commit is contained in:
Scott Lahteine
2018-03-15 22:20:12 -05:00
parent ec30e8c9ef
commit a560c0f7cd
3 changed files with 42 additions and 5 deletions

View File

@@ -61,6 +61,7 @@ public:
);
void getStatus();
void printingHasFinished();
void printFilename();
#if ENABLED(LONG_FILENAME_HOST_SUPPORT)
void printLongPath(char *path);