tests: drivers: uart: fix variable type mismatches
These were flagged by icx build. Jira: ZEP-1864 Change-Id: I5b8fce64d9e20d768fabf02e2a799e9390e3679a Signed-off-by: Jithu Joseph <jithu.joseph@intel.com>
This commit is contained in:
parent
370571b563
commit
fbde97d44a
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ static const char *fifo_data = "This is a FIFO test.\r\n";
|
|||
|
||||
static void uart_fifo_callback(struct device *dev)
|
||||
{
|
||||
char recvData;
|
||||
uint8_t recvData;
|
||||
|
||||
/* Verify uart_irq_update() */
|
||||
uart_irq_update(dev);
|
||||
|
@ -104,7 +104,7 @@ static int test_fifo_fill(void)
|
|||
/* Verify uart_fifo_fill() */
|
||||
for (int i = 0; i < DATA_SIZE; i++) {
|
||||
data_transmitted = false;
|
||||
while (!uart_fifo_fill(uart_dev, &fifo_data[i], 1))
|
||||
while (!uart_fifo_fill(uart_dev, (uint8_t *) &fifo_data[i], 1))
|
||||
;
|
||||
while (data_transmitted == false)
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue