component/bt: code clean up for btc_media_task

1. remove unused macros variables and functions
2. modify the implementation of API "esp_a2d_register_data_callback" to post messages to BTC task.
This commit is contained in:
wangmengyang
2017-03-13 14:54:02 +08:00
parent 878b85c421
commit d101f2113b
5 changed files with 76 additions and 197 deletions
@@ -172,7 +172,7 @@ esp_err_t esp_a2d_register_callback(esp_a2d_cb_t callback);
* - ESP_FAIL: if callback is a NULL function pointer
*
*/
esp_err_t esp_a2d_register_data_callback(esp_a2d_data_cb_t cb);
esp_err_t esp_a2d_register_data_callback(esp_a2d_data_cb_t callback);
/**