@@ -117,7 +117,7 @@ esp_err_t esp_bt_hid_host_set_info(esp_bd_addr_t bd_addr, esp_hidh_hid_info_t *h
117117 arg .set_info .hid_info = hid_info ;
118118
119119 bt_status_t stat = btc_transfer_context (& msg , & arg , sizeof (btc_hidh_args_t ),
120- btc_hh_arg_deep_copy , btc_hh_cb_arg_deep_free );
120+ btc_hh_arg_deep_copy , btc_hh_call_arg_deep_free );
121121 return (stat == BT_STATUS_SUCCESS ) ? ESP_OK : ESP_FAIL ;
122122}
123123
@@ -224,7 +224,7 @@ esp_err_t esp_bt_hid_host_set_report(esp_bd_addr_t bd_addr, esp_hidh_report_type
224224 arg .set_report .report = report ;
225225
226226 bt_status_t stat = btc_transfer_context (& msg , & arg , sizeof (btc_hidh_args_t ),
227- btc_hh_arg_deep_copy , btc_hh_cb_arg_deep_free );
227+ btc_hh_arg_deep_copy , btc_hh_call_arg_deep_free );
228228 return (stat == BT_STATUS_SUCCESS ) ? ESP_OK : ESP_FAIL ;
229229}
230230
@@ -243,7 +243,7 @@ esp_err_t esp_bt_hid_host_send_data(esp_bd_addr_t bd_addr, uint8_t *data, size_t
243243 arg .send_data .data = data ;
244244
245245 bt_status_t stat = btc_transfer_context (& msg , & arg , sizeof (btc_hidh_args_t ),
246- btc_hh_arg_deep_copy , btc_hh_cb_arg_deep_free );
246+ btc_hh_arg_deep_copy , btc_hh_call_arg_deep_free );
247247 return (stat == BT_STATUS_SUCCESS ) ? ESP_OK : ESP_FAIL ;
248248}
249249
0 commit comments