File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
libraries/BluetoothSerial/src Expand file tree Collapse file tree 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;
5454static EventGroupHandle_t _spp_event_group = NULL ;
5555static EventGroupHandle_t _bt_event_group = NULL ;
5656static boolean secondConnectionAttempt;
57- static esp_spp_cb_t * custom_spp_callback = NULL ;
57+ static esp_spp_cb_t custom_spp_callback = NULL ;
5858static BluetoothSerialDataCb custom_data_callback = NULL ;
5959static esp_bd_addr_t current_bd_addr;
6060static ConfirmRequestCb confirm_request_callback = NULL ;
@@ -886,7 +886,7 @@ void BluetoothSerial::confirmReply(boolean confirm)
886886}
887887
888888
889- esp_err_t BluetoothSerial::register_callback (esp_spp_cb_t * callback)
889+ esp_err_t BluetoothSerial::register_callback (esp_spp_cb_t callback)
890890{
891891 custom_spp_callback = callback;
892892 return ESP_OK;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class BluetoothSerial: public Stream
5353 void end (void );
5454 void setTimeout (int timeoutMS);
5555 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);
5757
5858 void onConfirmRequest (ConfirmRequestCb cb);
5959 void onAuthComplete (AuthCompleteCb cb);
You can’t perform that action at this time.
0 commit comments