Skip to content

Commit c466b3e

Browse files
committed
Compile error in idf
1 parent 6bf0f31 commit c466b3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BluetoothA2DPSink.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,13 +1120,13 @@ void BluetoothA2DPSink::activate_pin_code(bool active){
11201120

11211121
void BluetoothA2DPSink::confirm_pin_code()
11221122
{
1123-
ESP_LOGI(BT_AV_TAG, "confirm_pin_code %s", pin_code_int);
1123+
ESP_LOGI(BT_AV_TAG, "confirm_pin_code %d", pin_code_int);
11241124
esp_bt_gap_ssp_passkey_reply(peer_bd_addr, true, pin_code_int);
11251125
}
11261126

11271127
void BluetoothA2DPSink::confirm_pin_code(int code)
11281128
{
1129-
ESP_LOGI(BT_AV_TAG, "confirm_pin_code %s", code);
1129+
ESP_LOGI(BT_AV_TAG, "confirm_pin_code %d", code);
11301130
esp_bt_gap_ssp_passkey_reply(peer_bd_addr, true, code);
11311131
}
11321132

0 commit comments

Comments
 (0)