🐛 Fix TMC26X CS pins init (#23778)

This commit is contained in:
ellensp
2022-02-22 16:16:57 +13:00
committed by Scott Lahteine
parent be70352203
commit 80e569015b
5 changed files with 69 additions and 68 deletions

View File

@@ -145,7 +145,7 @@
#include "feature/encoder_i2c.h"
#endif
#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
#if (HAS_TRINAMIC_CONFIG || HAS_TMC_SPI) && DISABLED(PSU_DEFAULT_OFF)
#include "feature/tmc_util.h"
#endif