mirror of
https://github.com/apache/nuttx.git
synced 2025-12-12 22:05:54 +08:00
Update goldfish_sensor_uorb.c
This commit is contained in:
committed by
Xiang Xiao
parent
c41c726161
commit
2db0b69335
@@ -729,7 +729,7 @@ static int goldfish_sensor_get_info(FAR struct sensor_lowerhalf_s *lower,
|
||||
handle = goldfish_get_priv(lower, &priv);
|
||||
if (handle < 0)
|
||||
{
|
||||
return -EINVAL;
|
||||
return -handle;
|
||||
}
|
||||
|
||||
for (i = 0; i < sizeof(g_goldfish_sensor_info); i++)
|
||||
|
||||
Reference in New Issue
Block a user