Update goldfish_sensor_uorb.c
This commit is contained in:
parent
c41c726161
commit
2db0b69335
1 changed files with 1 additions and 1 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue