Robin FSMC / SPI pins
This commit is contained in:
1 parent
4268c1f1a5
commit
fd9f067a48
3 files changed
+8
-7
No files matched your search
@@ -64,10 +64,9 @@
|
||||
* @details Only configures SS pin since libmaple creates and initialize the SPI object
|
||||
*/
|
||||
void spiBegin() {
|
||||
#if !PIN_EXISTS(SS)
|
||||
#error "SS_PIN not defined!"
|
||||
#if PIN_EXISTS(SS)
|
||||
OUT_WRITE(SS_PIN, HIGH);
|
||||
#endif
|
||||
OUT_WRITE(SS_PIN, HIGH);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user