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 ...@@ -49,10 +49,10 @@ class RF24
private: private:
#ifdef SOFTSPI #ifdef SOFTSPI
SoftSPI<SOFT_SPI_MISO_PIN, SOFT_SPI_MOSI_PIN, SOFT_SPI_SCK_PIN, SPI_MODE> spi; SoftSPI<SOFT_SPI_MISO_PIN, SOFT_SPI_MOSI_PIN, SOFT_SPI_SCK_PIN, SPI_MODE> spi;
#endif #elif defined (SPI_UART)
#ifdef SPI_UART
SPIUARTClass uspi; SPIUARTClass uspi;
#endif #endif
uint8_t ce_pin; /**< "Chip Enable" pin, activates the RX or TX role */ uint8_t ce_pin; /**< "Chip Enable" pin, activates the RX or TX role */
uint8_t csn_pin; /**< SPI Chip select */ uint8_t csn_pin; /**< SPI Chip select */
bool p_variant; /* False for RF24L01 and true for RF24L01P */ bool p_variant; /* False for RF24L01 and true for RF24L01P */
......
...@@ -45,9 +45,9 @@ ...@@ -45,9 +45,9 @@
const uint8_t SPI_MODE = 0; const uint8_t SPI_MODE = 0;
#define _SPI spi #define _SPI spi
#else #else
#defome _SPI SPI;
#include <SPI.h> #include <SPI.h>
#define _SPI SPI
#endif #endif
#endif #endif
#else #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