Skip to content

Commit 6710517

Browse files
authored
SerialBT (fix): fixes the callback function pointer
1 parent 48072ee commit 6710517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/BluetoothSerial/src/BluetoothSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class BluetoothSerial: public Stream
5757
void memrelease();
5858
void setTimeout(int timeoutMS);
5959
void onData(BluetoothSerialDataCb cb);
60-
esp_err_t register_callback(esp_spp_cb_t * callback);
60+
esp_err_t register_callback(esp_spp_cb_t callback);
6161

6262
#ifdef CONFIG_BT_SSP_ENABLED
6363
void onConfirmRequest(ConfirmRequestCb cb);

0 commit comments

Comments
 (0)