From 02381d682130dd25ba8585c93b1a967533cffebe Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Mon, 13 Aug 2018 17:05:13 -0500 Subject: [PATCH] Make M7219 I more robust and nicer to look at --- Marlin/Marlin_main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 98e31bfb08..46c29a8af1 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -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++)