Commit 80e942ce authored by TMRh20's avatar TMRh20

#24 lol Fix: Spelling and ; on std spi define

parent 2d79e75e
......@@ -49,10 +49,10 @@ class RF24
private:
#ifdef SOFTSPI
SoftSPI<SOFT_SPI_MISO_PIN, SOFT_SPI_MOSI_PIN, SOFT_SPI_SCK_PIN, SPI_MODE> spi;
#endif
#ifdef SPI_UART
#elif defined (SPI_UART)
SPIUARTClass uspi;
#endif
uint8_t ce_pin; /**< "Chip Enable" pin, activates the RX or TX role */
uint8_t csn_pin; /**< SPI Chip select */
bool p_variant; /* False for RF24L01 and true for RF24L01P */
......
......@@ -46,8 +46,8 @@
#define _SPI spi
#else
#defome _SPI SPI;
#include <SPI.h>
#define _SPI SPI
#endif
#endif
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment