arch/arm/src/imxrt/imxrt_serial.c: Fix a type mismatch
This commit is contained in:
parent
9a7de336d0
commit
4a8d0d15d4
@ -366,7 +366,7 @@ static int imxrt_attach(struct uart_dev_s *dev);
|
|||||||
static void imxrt_detach(struct uart_dev_s *dev);
|
static void imxrt_detach(struct uart_dev_s *dev);
|
||||||
static int imxrt_interrupt(int irq, void *context, FAR void *arg);
|
static int imxrt_interrupt(int irq, void *context, FAR void *arg);
|
||||||
static int imxrt_ioctl(struct file *filep, int cmd, unsigned long arg);
|
static int imxrt_ioctl(struct file *filep, int cmd, unsigned long arg);
|
||||||
static int imxrt_receive(struct uart_dev_s *dev, uint32_t *status);
|
static int imxrt_receive(struct uart_dev_s *dev, unsigned int *status);
|
||||||
static void imxrt_rxint(struct uart_dev_s *dev, bool enable);
|
static void imxrt_rxint(struct uart_dev_s *dev, bool enable);
|
||||||
static bool imxrt_rxavailable(struct uart_dev_s *dev);
|
static bool imxrt_rxavailable(struct uart_dev_s *dev);
|
||||||
static void imxrt_send(struct uart_dev_s *dev, int ch);
|
static void imxrt_send(struct uart_dev_s *dev, int ch);
|
||||||
@ -1385,7 +1385,7 @@ static int imxrt_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
static int imxrt_receive(struct uart_dev_s *dev, uint32_t *status)
|
static int imxrt_receive(struct uart_dev_s *dev, unsigned int *status)
|
||||||
{
|
{
|
||||||
struct imxrt_uart_s *priv = (struct imxrt_uart_s *)dev->priv;
|
struct imxrt_uart_s *priv = (struct imxrt_uart_s *)dev->priv;
|
||||||
uint32_t rxd;
|
uint32_t rxd;
|
||||||
|
Loading…
Reference in New Issue
Block a user