Update goldfish_sensor_uorb.c

This commit is contained in:
chenzihan0416
2025-01-14 14:09:45 +08:00
committed by Xiang Xiao
parent c41c726161
commit 2db0b69335

View File

@@ -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++)