Clear Max7219 without test pattern

This commit is contained in:
Scott Lahteine 2018-06-25 11:49:36 -04:00
parent dd9c65d0be
commit 8600cbb01b
3 changed files with 8 additions and 1 deletions

View file

@ -10882,7 +10882,7 @@ inline void gcode_M502() {
*/
inline void gcode_M7219() {
if (parser.seen('I'))
Max7219_init();
Max7219_Clear();
else if (parser.seenval('R')) {
const uint8_t r = parser.value_int();
Max7219_Set_Row(r, parser.byteval('V'));