Max7219 init last
This commit is contained in:
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…
Reference in a new issue