Optimize G-code flag parameters (#21849)

This commit is contained in:
Scott Lahteine
2021-05-09 03:50:51 -05:00
committed by GitHub
parent 4588d836a3
commit 49548c343d
25 changed files with 95 additions and 94 deletions

View File

@@ -33,7 +33,7 @@
* OR, with 'C' get the current filename.
*/
void GcodeSuite::M27() {
if (parser.seen('C')) {
if (parser.seen_test('C')) {
SERIAL_ECHOPGM("Current file: ");
card.printSelectedFilename();
return;