调整文件

This commit is contained in:
lmx
2025-10-31 10:38:17 +08:00
parent eb7b89e434
commit a96264ec36
31 changed files with 143139 additions and 142914 deletions

View File

@ -113,7 +113,7 @@ static int state_machine(struct application *app, enum app_state state, struct i
case ACTION_EARPHONE_MAIN:
xlog("ble init\n");
/*
* earphone 模式初始化
* handler 初始化
*/
clk_set("sys", BT_NORMAL_HZ);
u32 sys_clk = clk_get("sys");
@ -344,15 +344,7 @@ static int bt_connction_status_event_handler(struct bt_event *bt)
break;
case BT_STATUS_AVRCP_INCOME_OPID:
#define AVC_VOLUME_UP 0x41
#define AVC_VOLUME_DOWN 0x42
log_info("BT_STATUS_AVRCP_INCOME_OPID:%d\n", bt->value);
if (bt->value == AVC_VOLUME_UP) {
}
if (bt->value == AVC_VOLUME_DOWN) {
}
break;
default:
log_info(" BT STATUS DEFAULT\n");