Robin FSMC / SPI pins

This commit is contained in:
Scott Lahteine
2019-08-06 03:23:26 -05:00
parent 4268c1f1a5
commit fd9f067a48
3 changed files with 8 additions and 7 deletions

View File

@ -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);
}
/**