Commit ed9ae08d authored by TMRh20's avatar TMRh20

Add 'static' to void in spi.h

parent a57fafe0
...@@ -26,8 +26,8 @@ public: ...@@ -26,8 +26,8 @@ public:
} }
SPISettings() { init(RF24_SPI_SPEED, MSBFIRST, SPI_MODE0); } SPISettings() { init(RF24_SPI_SPEED, MSBFIRST, SPI_MODE0); }
uint32_t clck; uint32_t clck;
uint8_t border; uint8_t border;
uint8_t dmode; uint8_t dmode;
private: private:
...@@ -58,7 +58,7 @@ public: ...@@ -58,7 +58,7 @@ public:
static void setClockDivider(uint16_t spi_speed); static void setClockDivider(uint16_t spi_speed);
static void chipSelect(int csn_pin); static void chipSelect(int csn_pin);
void beginTransaction(SPISettings settings); static void beginTransaction(SPISettings settings);
static void endTransaction(); static void endTransaction();
......
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