mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
@@ -152,7 +152,7 @@ static int onewire_pm_prepare(FAR struct pm_callback_s *cb, int domain,
|
||||
|
||||
/* Check if exclusive lock for the bus master is held. */
|
||||
|
||||
if (nxrmutex_is_locked(&master->devlock)
|
||||
if (nxrmutex_is_locked(&master->devlock))
|
||||
{
|
||||
/* Exclusive lock is held, do not allow entry to deeper PM
|
||||
* states.
|
||||
|
||||
Reference in New Issue
Block a user