mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-18 15:21:25 +00:00
Make M7219 I more robust and nicer to look at
This commit is contained in:
parent
263beae3e9
commit
02381d6821
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue