mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
lpwan/sx127x: correct device unlock interface to nxmutex_unlock()
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -942,7 +942,7 @@ errout:
|
||||
*/
|
||||
|
||||
sx127x_opmode_set(dev, dev->idle);
|
||||
nxsem_post(&dev->dev_lock);
|
||||
nxmutex_unlock(&dev->dev_lock);
|
||||
|
||||
return ret;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user