mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-07-25 14:25:20 -04:00
@@ -44,9 +44,9 @@ void VibratorTimerEntry(uintptr_t para)
|
||||
{
|
||||
struct VibratorDriverData *drvData = (struct VibratorDriverData *)para;
|
||||
|
||||
(void)OsalMutexLock(&drvData->mutex);
|
||||
drvData->state = VIBRATOR_STATE_STOP;
|
||||
(void)OsalMutexUnlock(&drvData->mutex);
|
||||
|
||||
HdfAddWork(&drvData->workQueue, &drvData->work);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user