This is an automated email from the ASF dual-hosted git repository.
linguini1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a65a1e619e5 drivers/serial/uart_ram: match uart_ops_s receive()
prototype
a65a1e619e5 is described below
commit a65a1e619e54c19b0d552fe2769f190f5c8fee11
Author: raiden00pl <[email protected]>
AuthorDate: Tue Jun 16 17:04:19 2026 +0200
drivers/serial/uart_ram: match uart_ops_s receive() prototype
fix uart_ops_s receive() prototype
Signed-off-by: raiden00pl <[email protected]>
---
drivers/serial/uart_ram.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/serial/uart_ram.c b/drivers/serial/uart_ram.c
index 9735eb41853..a172396a404 100644
--- a/drivers/serial/uart_ram.c
+++ b/drivers/serial/uart_ram.c
@@ -64,7 +64,7 @@ static void uart_ram_detach(FAR struct uart_dev_s *dev);
static int uart_ram_ioctl(FAR struct file *filep, int cmd,
unsigned long arg);
static int uart_ram_receive(FAR struct uart_dev_s *dev,
- FAR uint32_t *status);
+ FAR unsigned int *status);
static void uart_ram_rxint(FAR struct uart_dev_s *dev, bool enable);
static bool uart_ram_rxavailable(FAR struct uart_dev_s *dev);
static void uart_ram_dmasend(FAR struct uart_dev_s *dev);
@@ -300,7 +300,8 @@ static int uart_ram_ioctl(FAR struct file *filep, int cmd,
unsigned long arg)
* Name: uart_ram_receive
****************************************************************************/
-static int uart_ram_receive(FAR struct uart_dev_s *dev, FAR uint32_t *status)
+static int uart_ram_receive(FAR struct uart_dev_s *dev,
+ FAR unsigned int *status)
{
FAR struct uart_ram_s *priv = dev->priv;
int rdoff;