Public fork of mbed-src to add generic stm32f030k6 target
Fork of mbed-src by
Diff: hal/serial_api.h
- Revision:
- 563:536c9fb088a0
- Parent:
- 525:c320967f86b9
diff -r 9f26fcd0c9ce -r 536c9fb088a0 hal/serial_api.h --- a/hal/serial_api.h Tue Jun 09 15:30:08 2015 +0100 +++ b/hal/serial_api.h Wed Jun 10 10:00:08 2015 +0100 @@ -237,7 +237,7 @@ * @param hint A suggestion for how to use DMA with this transfer * @return Returns number of data transfered, or 0 otherwise */ -int serial_tx_asynch(serial_t *obj, void *tx, size_t tx_length, uint8_t tx_width, uint32_t handler, uint32_t event, DMAUsage hint); +int serial_tx_asynch(serial_t *obj, const void *tx, size_t tx_length, uint8_t tx_width, uint32_t handler, uint32_t event, DMAUsage hint); /** Begin asynchronous RX transfer (enable interrupt for data collecting) * The used buffer is specified in the serial object - rx_buff