Add BOARD_PREINIT (for Longer3D open drain pins) (#21159)

This commit is contained in:
Tanguy Pruvot
2021-02-25 11:35:18 +01:00
committed by GitHub
parent 3061a31c92
commit d167af4c38
3 changed files with 17 additions and 5 deletions

View File

@@ -870,6 +870,9 @@ inline void tmc_standby_setup() {
* • Max7219
*/
void setup() {
#ifdef BOARD_PREINIT
BOARD_PREINIT(); // Low-level init (before serial init)
#endif
tmc_standby_setup(); // TMC Low Power Standby pins must be set early or they're not usable