diff options
Diffstat (limited to 'common/smart_battery.c')
-rw-r--r-- | common/smart_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/smart_battery.c b/common/smart_battery.c index ee5c138946..0438d6309f 100644 --- a/common/smart_battery.c +++ b/common/smart_battery.c @@ -79,7 +79,7 @@ int battery_time_at_rate(int rate, int *minutes) return EC_SUCCESS; } else { /* wait 10ms for AT_RATE_OK */ - usleep(10000); + msleep(10); } } return EC_ERROR_TIMEOUT; |