Skip to content

Commit 2f08dcf

Browse files
committed
Adds missing callback copy
1 parent 5574ed8 commit 2f08dcf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/usb/usb_device_uac/usb_device_uac.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ esp_err_t uac_device_init(uac_device_config_t *config)
503503
s_uac_device->user_cfg.cb_ctx = config->cb_ctx;
504504
s_uac_device->user_cfg.set_mute_cb = config->set_mute_cb;
505505
s_uac_device->user_cfg.set_volume_cb = config->set_volume_cb;
506+
s_uac_device->user_cfg.set_volume_db_cb = config->set_volume_db_cb;
506507
s_uac_device->current_sample_rate = DEFAULT_SAMPLE_RATE;
507508
s_uac_device->mic_buf_write = s_uac_device->mic_buf1;
508509
s_uac_device->mic_buf_read = s_uac_device->mic_buf2;

0 commit comments

Comments
 (0)