mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 05:27:17 +00:00
arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c: Fix a type mismatch
This commit is contained in:
parent
2894f62de1
commit
8bf2ab7b98
1 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ static int up_attach(struct uart_dev_s *dev);
|
|||
static void up_detach(struct uart_dev_s *dev);
|
||||
static int up_interrupt(int irq, void *context, void *arg);
|
||||
static int up_ioctl(struct file *filep, int cmd, unsigned long arg);
|
||||
static int up_receive(struct uart_dev_s *dev, uint32_t *status);
|
||||
static int up_receive(struct uart_dev_s *dev, unsigned int *status);
|
||||
static void up_rxint(struct uart_dev_s *dev, bool enable);
|
||||
static bool up_rxavailable(struct uart_dev_s *dev);
|
||||
static void up_send(struct uart_dev_s *dev, int ch);
|
||||
|
|
@ -1459,7 +1459,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int up_receive(struct uart_dev_s *dev, uint32_t *status)
|
||||
static int up_receive(struct uart_dev_s *dev, unsigned int *status)
|
||||
{
|
||||
struct up_dev_s *priv = (struct up_dev_s *)dev->priv;
|
||||
uint32_t rbr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue