Lancaster University's (short term!) clone of mbed-src for micro:bit. This is a copy of the github branch https://github.com/lancaster-university/mbed-classic
Fork of mbed-src by
Diff: hal/spi_api.h
- Revision:
- 563:536c9fb088a0
- Parent:
- 525:c320967f86b9
diff -r 9f26fcd0c9ce -r 536c9fb088a0 hal/spi_api.h --- a/hal/spi_api.h Tue Jun 09 15:30:08 2015 +0100 +++ b/hal/spi_api.h Wed Jun 10 10:00:08 2015 +0100 @@ -169,7 +169,7 @@ * @param[in] handler SPI interrupt handler * @param[in] hint A suggestion for how to use DMA with this transfer */ -void spi_master_transfer(spi_t *obj, void *tx, size_t tx_length, void *rx, size_t rx_length, uint8_t bit_width, uint32_t handler, uint32_t event, DMAUsage hint); +void spi_master_transfer(spi_t *obj, const void *tx, size_t tx_length, void *rx, size_t rx_length, uint8_t bit_width, uint32_t handler, uint32_t event, DMAUsage hint); /** The asynchronous IRQ handler *