mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
ble_mesh: Remove useless parameters of lock/unlock
This commit is contained in:
@@ -37,16 +37,12 @@ typedef struct alarm_t {
|
||||
int64_t deadline_us;
|
||||
} osi_alarm_t;
|
||||
|
||||
unsigned int bt_mesh_irq_lock(void)
|
||||
void bt_mesh_irq_lock(void)
|
||||
{
|
||||
/* Changed by Espressif. In BLE Mesh, in order to improve the real-time
|
||||
* requirements of bt controller, we use task lock instead of IRQ lock.
|
||||
*/
|
||||
osi_mutex_lock(&bm_irq_lock, OSI_MUTEX_MAX_TIMEOUT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void bt_mesh_irq_unlock(unsigned int key)
|
||||
void bt_mesh_irq_unlock(void)
|
||||
{
|
||||
osi_mutex_unlock(&bm_irq_lock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user