File tree 1 file changed +2
-2
lines changed
libraries/BluetoothSerial/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ static TaskHandle_t _spp_task_handle = NULL;
55
55
static EventGroupHandle_t _spp_event_group = NULL ;
56
56
static EventGroupHandle_t _bt_event_group = NULL ;
57
57
static boolean secondConnectionAttempt;
58
- static esp_spp_cb_t * custom_spp_callback = NULL ;
58
+ static esp_spp_cb_t custom_spp_callback = NULL ;
59
59
static BluetoothSerialDataCb custom_data_callback = NULL ;
60
60
static esp_bd_addr_t current_bd_addr;
61
61
static ConfirmRequestCb confirm_request_callback = NULL ;
@@ -945,7 +945,7 @@ void BluetoothSerial::confirmReply(boolean confirm)
945
945
}
946
946
947
947
948
- esp_err_t BluetoothSerial::register_callback (esp_spp_cb_t * callback)
948
+ esp_err_t BluetoothSerial::register_callback (esp_spp_cb_t callback)
949
949
{
950
950
custom_spp_callback = callback;
951
951
return ESP_OK;
You can’t perform that action at this time.
0 commit comments