modify the api in sensor framework

This commit is contained in:
Wang_Weigen
2021-09-14 16:49:54 +08:00
parent cd9a3ee143
commit d77c1828b2
8 changed files with 53 additions and 54 deletions
@@ -81,7 +81,7 @@ static int SensorDeviceRead(struct SensorDevice *sdev, size_t len)
PrivRead(sdev->fd, &tmp, 1);
if ((tmp == 0xFE) || (timeout >= 1000))
break;
UserTaskDelay(10);
PrivTaskDelay(10);
++timeout;
}