1 /* 2 * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "btc/btc_task.h" 8 #include "btc/btc_alarm.h" 9 #include "esp_log.h" 10 btc_alarm_handler(btc_msg_t * msg)11void btc_alarm_handler(btc_msg_t *msg) 12 { 13 btc_alarm_args_t *arg = (btc_alarm_args_t *)msg->arg; 14 15 BTC_TRACE_DEBUG("%s act %d\n", __FUNCTION__, msg->act); 16 17 if (arg->cb) { 18 arg->cb(arg->cb_data); 19 } 20 } 21