mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
small enhancement for esp8266 (compile)
This commit is contained in:
parent
b8533cc17d
commit
8c67f59eed
1 changed files with 8 additions and 0 deletions
|
@ -148,6 +148,14 @@ class esp32_3wSpi {
|
||||||
spi_device_handle_t spi_reg, spi_fifo;
|
spi_device_handle_t spi_reg, spi_fifo;
|
||||||
bool mInitialized;
|
bool mInitialized;
|
||||||
};
|
};
|
||||||
|
#else
|
||||||
|
template<uint8_t CSB_PIN=5, uint8_t FCSB_PIN=4>
|
||||||
|
class esp32_3wSpi {
|
||||||
|
public:
|
||||||
|
esp32_3wSpi() {}
|
||||||
|
void setup() {}
|
||||||
|
void loop() {}
|
||||||
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /*__ESP32_3WSPI_H__*/
|
#endif /*__ESP32_3WSPI_H__*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue