mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-29 23:07:42 +00:00
Make M7219 I more robust and nicer to look at
This commit is contained in:
parent
263beae3e9
commit
02381d6821
@ -10913,8 +10913,10 @@ inline void gcode_M502() {
|
||||
* rows or columns depending upon rotation)
|
||||
*/
|
||||
inline void gcode_M7219() {
|
||||
if (parser.seen('I'))
|
||||
if (parser.seen('I')) {
|
||||
Max7219_Clear();
|
||||
Max7219_init();
|
||||
}
|
||||
|
||||
if (parser.seen('F'))
|
||||
for (uint8_t x = 0; x < MAX7219_X_LEDS; x++)
|
||||
|
Loading…
Reference in New Issue
Block a user