mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 09:02:20 +08:00
[dm][core] fixup the rt_dm_dev_prop_read_u8_array_index OFW check
Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user