semaphore for SPI bus access removed from the driver, the user has to deal with concurrency
This commit is contained in:
parent
29735aa7c4
commit
1dbe9e46c4
4 changed files with 80 additions and 74 deletions
|
|
@ -67,12 +67,6 @@
|
|||
#include "esp/spi.h"
|
||||
#include "i2c/i2c.h"
|
||||
|
||||
// platform specific definitions
|
||||
|
||||
#define spi_semaphore_init(d)
|
||||
#define spi_semaphore_take(d)
|
||||
#define spi_semaphore_give(d)
|
||||
|
||||
// platform specific SPI functions
|
||||
|
||||
#define spi_bus_init(bus,sck,miso,mosi) // not needed on ESP8266
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue