Init CS pins before loading settings (#9566)
This commit is contained in:
committed by
Scott Lahteine
parent
d3fdb44ad8
commit
5990266724
@ -689,6 +689,13 @@ void setup() {
|
||||
SERIAL_PROTOCOLLNPGM("start");
|
||||
SERIAL_ECHO_START();
|
||||
|
||||
#if ENABLED(HAVE_TMC2130)
|
||||
tmc_init_cs_pins();
|
||||
#endif
|
||||
#if ENABLED(HAVE_TMC2208)
|
||||
tmc2208_serial_begin();
|
||||
#endif
|
||||
|
||||
// Check startup - does nothing if bootloader sets MCUSR to 0
|
||||
byte mcu = HAL_get_reset_source();
|
||||
if (mcu & 1) SERIAL_ECHOLNPGM(MSG_POWERUP);
|
||||
|
Reference in New Issue
Block a user