From 712fe9d0475a05c51bfbfacd574fe99af66fb157 Mon Sep 17 00:00:00 2001 From: baohongde Date: Thu, 21 May 2020 20:59:06 +0800 Subject: [PATCH] Increase max timer number, as ble mesh will use it. --- components/bt/bluedroid/osi/include/osi/alarm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/bluedroid/osi/include/osi/alarm.h b/components/bt/bluedroid/osi/include/osi/alarm.h index a1d3fa8961..f60528cc2c 100644 --- a/components/bt/bluedroid/osi/include/osi/alarm.h +++ b/components/bt/bluedroid/osi/include/osi/alarm.h @@ -33,7 +33,7 @@ typedef enum { OSI_ALARM_ERR_INVALID_STATE = -3, } osi_alarm_err_t; -#define ALARM_CBS_NUM 50 +#define ALARM_CBS_NUM 80 //ble mesh will use 30+node timers, so change it from 50 to 80 #define ALARM_ID_BASE 1000 int osi_alarm_create_mux(void);