aboutsummaryrefslogtreecommitdiffstats
path: root/os/io/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/io/spi.h')
-rw-r--r--os/io/spi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/io/spi.h b/os/io/spi.h
index e0a163db2..b8e434cd5 100644
--- a/os/io/spi.h
+++ b/os/io/spi.h
@@ -59,7 +59,7 @@ extern "C" {
void spiStop(SPIDriver *spip);
void spiSelect(SPIDriver *spip);
void spiUnselect(SPIDriver *spip);
- msg_t spiExchange(SPIDriver *spip, size_t n, void *rxbuf, void *txbuf);
+ msg_t spiExchange(SPIDriver *spip, size_t n, void *txbuf, void *rxbuf);
msg_t spiSend(SPIDriver *spip, size_t n, void *txbuf);
msg_t spiReceive(SPIDriver *spip, size_t n, void *rxbuf);
#if SPI_USE_MUTUAL_EXCLUSION