File tree 2 files changed +3
-3
lines changed
libraries/BluetoothSerial/src
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ static TaskHandle_t _spp_task_handle = NULL;
54
54
static EventGroupHandle_t _spp_event_group = NULL ;
55
55
static EventGroupHandle_t _bt_event_group = NULL ;
56
56
static boolean secondConnectionAttempt;
57
- static esp_spp_cb_t * custom_spp_callback = NULL ;
57
+ static esp_spp_cb_t custom_spp_callback = NULL ;
58
58
static BluetoothSerialDataCb custom_data_callback = NULL ;
59
59
static esp_bd_addr_t current_bd_addr;
60
60
static ConfirmRequestCb confirm_request_callback = NULL ;
@@ -886,7 +886,7 @@ void BluetoothSerial::confirmReply(boolean confirm)
886
886
}
887
887
888
888
889
- esp_err_t BluetoothSerial::register_callback (esp_spp_cb_t * callback)
889
+ esp_err_t BluetoothSerial::register_callback (esp_spp_cb_t callback)
890
890
{
891
891
custom_spp_callback = callback;
892
892
return ESP_OK;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class BluetoothSerial: public Stream
53
53
void end (void );
54
54
void setTimeout (int timeoutMS);
55
55
void onData (BluetoothSerialDataCb cb);
56
- esp_err_t register_callback (esp_spp_cb_t * callback);
56
+ esp_err_t register_callback (esp_spp_cb_t callback);
57
57
58
58
void onConfirmRequest (ConfirmRequestCb cb);
59
59
void onAuthComplete (AuthCompleteCb cb);
You can’t perform that action at this time.
0 commit comments