Max7219 init last

2.0.x
Scott Lahteine 5 years ago
parent e9f451bffe
commit 8ff25a9566

@ -874,6 +874,7 @@ void stop() {
* Digipot I2C
* Z probe sled
* status LEDs
* Max7219
*/
void setup() {
@ -887,10 +888,6 @@ void setup() {
OUT_WRITE(SMART_EFFECTOR_MOD_PIN, LOW); // Put Smart Effector into NORMAL mode
#endif
#if ENABLED(MAX7219_DEBUG)
max7219.init();
#endif
#if ENABLED(DISABLE_DEBUG)
// Disable any hardware debug to free up pins for IO
#ifdef JTAGSWD_DISABLE
@ -1173,6 +1170,10 @@ void setup() {
#if HAS_SERVICE_INTERVALS
ui.reset_status(true); // Show service messages or keep current status
#endif
#if ENABLED(MAX7219_DEBUG)
max7219.init();
#endif
}
/**

Loading…
Cancel
Save