mbed lib with startup delay fixed for Nucleo401RE
Fork of mbed-src by
Diff: hal/i2c_api.h
- Revision:
- 563:536c9fb088a0
- Parent:
- 525:c320967f86b9
--- a/hal/i2c_api.h Tue Jun 09 15:30:08 2015 +0100 +++ b/hal/i2c_api.h Wed Jun 10 10:00:08 2015 +0100 @@ -191,7 +191,7 @@ * @param handler The I2C IRQ handler to be set * @param hint DMA hint usage */ -void i2c_transfer_asynch(i2c_t *obj, void *tx, size_t tx_length, void *rx, size_t rx_length, uint32_t address, uint32_t stop, uint32_t handler, uint32_t event, DMAUsage hint); +void i2c_transfer_asynch(i2c_t *obj, const void *tx, size_t tx_length, void *rx, size_t rx_length, uint32_t address, uint32_t stop, uint32_t handler, uint32_t event, DMAUsage hint); /** The asynchronous IRQ handler * @param obj The I2C object which holds the transfer information