🎨 Refactor Host Actions as singleton

This commit is contained in:
Scott Lahteine authored and Scott Lahteine committed 2021-12-25 00:45:05 -06:00
1 parent 1ead7ce681
commit f80bcdcc5c
26 files changed
+208 -150

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@
* M111: Set the debug level
*/
void GcodeSuite::M111() {
if (parser.seen('S')) marlin_debug_flags = parser.byteval('S');
if (parser.seenval('S')) marlin_debug_flags = parser.value_byte();
static PGMSTR(str_debug_1, STR_DEBUG_ECHO);
static PGMSTR(str_debug_2, STR_DEBUG_INFO);