Skip to content

Commit 4133956

Browse files
JvanDoorencarlescufi
authored andcommitted
tests: drivers: uart: moving struct declaration
Moving struct in preparation of wide test. Signed-off-by: Jeroen van Dooren <[email protected]>
1 parent 6ab7069 commit 4133956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/drivers/uart/uart_basic_api/src/test_uart_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
*/
2626

2727
#include "test_uart.h"
28-
struct uart_config uart_cfg_check;
2928
const struct uart_config uart_cfg = {
3029
.baudrate = 115200,
3130
.parity = UART_CFG_PARITY_NONE,
@@ -58,6 +57,7 @@ static int test_configure(void)
5857
/* test UART configure get (retrieve configuration) */
5958
static int test_config_get(void)
6059
{
60+
struct uart_config uart_cfg_check;
6161
const struct device *const uart_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_console));
6262

6363
if (!device_is_ready(uart_dev)) {

0 commit comments

Comments
 (0)