Merge pull request #630 from armink/master

[DeviceDrivers]Fix dma_transmit callback parameter type error. #628
This commit is contained in:
Bernard Xiong 2016-05-12 23:01:57 +08:00
commit 4d45dc45bd
1 changed files with 11 additions and 12 deletions

View File

@ -163,7 +163,7 @@ struct rt_uart_ops
int (*putc)(struct rt_serial_device *serial, char c);
int (*getc)(struct rt_serial_device *serial);
rt_size_t (*dma_transmit)(struct rt_serial_device *serial, const rt_uint8_t *buf, rt_size_t size, int direction);
rt_size_t (*dma_transmit)(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, int direction);
};
void rt_hw_serial_isr(struct rt_serial_device *serial, int event);
@ -174,4 +174,3 @@ rt_err_t rt_hw_serial_register(struct rt_serial_device *serial,
void *data);
#endif