Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SPI bus sharing (TFT, SD, Touch, TMC, etc...) #255

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
- follow-up adjustment
quiret committed Nov 24, 2022
commit a757c5271b8dd0b01d538e9a30a5d3bb179d04ef
6 changes: 5 additions & 1 deletion src/TMCStepper_fixing.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#ifndef TMC_NO_GENERIC_SPI

namespace _TMC_FIXING
{

@@ -100,4 +102,6 @@ SPI_SET_PIN_HELPER( SCLK );
SPI_INIT_PIN( SPI, MOSI, mosi ); \
SPI_INIT_PIN( SPI, SCLK, sck ); \
spi.begin(); }
#endif
#endif

#endif //TMC_NO_GENERIC_SPI