We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e62bc commit c9a1db6Copy full SHA for c9a1db6
tests/drivers/mspi/api/src/main.c
@@ -31,8 +31,8 @@ static struct gpio_dt_spec ce_gpios[] = MSPI_CE_GPIOS_DT_SPEC_GET(MSPI_BUS_NODE)
31
#if TEST_MSPI_REINIT
32
struct mspi_cfg hardware_cfg = {
33
.channel_num = 0,
34
- .op_mode = DT_PROP_OR(MSPI_BUS_NODE, op_mode, MSPI_OP_MODE_CONTROLLER),
35
- .duplex = DT_PROP_OR(MSPI_BUS_NODE, duplex, MSPI_HALF_DUPLEX),
+ .op_mode = DT_ENUM_IDX_OR(MSPI_BUS_NODE, op_mode, MSPI_OP_MODE_CONTROLLER),
+ .duplex = DT_ENUM_IDX_OR(MSPI_BUS_NODE, duplex, MSPI_HALF_DUPLEX),
36
.dqs_support = DT_PROP_OR(MSPI_BUS_NODE, dqs_support, false),
37
.ce_group = ce_gpios,
38
.num_ce_gpios = ARRAY_SIZE(ce_gpios),
0 commit comments