diff options
| author | GuEe-GUI <[email protected]> | 2025-12-09 17:22:26 +0800 |
|---|---|---|
| committer | R b b666 <[email protected]> | 2025-12-09 21:04:16 +0800 |
| commit | c857e035440681bca0010b35418bdb3a9ca62d52 (patch) | |
| tree | 3d105000838c21130d603cbefeccc1e4a84fe6db /components/drivers | |
| parent | 7357abdc37a05fc8f78708ef4a60cffa322d6a0b (diff) | |
[dm][core] fixup the `rt_dm_dev_prop_read_u8_array_index` OFW check
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers')
| -rw-r--r-- | components/drivers/core/dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/core/dm.c b/components/drivers/core/dm.c index 34d7e721fd..4a5cdb3a6d 100644 --- a/components/drivers/core/dm.c +++ b/components/drivers/core/dm.c @@ -485,11 +485,11 @@ int rt_dm_dev_prop_read_u8_array_index(rt_device_t dev, const char *propname, { RT_ASSERT(dev != RT_NULL); -#ifdef RT_UISNG_OFW +#ifdef RT_USING_OFW if (dev->ofw_node) { return ofw_api_call(prop_read_u8_array_index, dev->ofw_node, propname, - index, nr, out_value); + index, nr, out_values); } #endif |
