Add nrf52 spi driver abstraction

This commit is contained in:
Thomas Klaehn
2020-03-28 08:45:36 +01:00
parent 437ba90bc2
commit 07301042f9
2 changed files with 5 additions and 2 deletions

View File

@@ -8,7 +8,6 @@
static inline int spi_transfer(uint32_t t);
int spi_open(const struct driver *drv)
{
assert(NULL != drv);
@@ -59,4 +58,3 @@ static inline int spi_transfer(uint32_t t)
}
r = NRF_SPI0->RXD; // in
return (int)r;
}