Move M250 to cpp
This commit is contained in:
1 parent
ebb9bd5419
commit
8584f7e390
3 files changed
+12
-10
No files matched your search
@@ -20,12 +20,21 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if HAS_LCD_CONTRAST
|
||||
|
||||
#include "../gcode.h"
|
||||
#include "../../lcd/ultralcd.h"
|
||||
|
||||
/**
|
||||
* M250: Read and optionally set the LCD contrast
|
||||
*/
|
||||
void gcode_M250() {
|
||||
void GcodeSuite::M250() {
|
||||
if (parser.seen('C')) set_lcd_contrast(parser.value_int());
|
||||
SERIAL_PROTOCOLPGM("lcd contrast value: ");
|
||||
SERIAL_PROTOCOL(lcd_contrast);
|
||||
SERIAL_EOL();
|
||||
}
|
||||
|
||||
#endif // HAS_LCD_CONTRAST
|
||||
Reference in new issue
Block a user