Skip to content

Commit d1af84a

Browse files
pan-Cruz Monrreal II
authored andcommitted
BLE: Revert changes introduced by debugging.
1 parent bb2870f commit d1af84a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include <stdio.h>
1817
#include "CordioPalGap.h"
1918
#include "hci_api.h"
2019
#include "dm_api.h"
@@ -485,14 +484,12 @@ void Gap::gap_handler(const wsfMsgHdr_t *msg)
485484
break;
486485

487486
case DM_PER_ADV_REPORT_IND: {
488-
printf("DM_PER_ADV_REPORT_IND\r\n");
489487
if (!handler) {
490488
break;
491489
}
492490

493491
const hciLePerAdvReportEvt_t *evt = (const hciLePerAdvReportEvt_t *) msg;
494492

495-
printf("preparing for generic gap\r\n");
496493
handler->on_periodic_advertising_report(
497494
evt->syncHandle,
498495
evt->txPower,
@@ -841,7 +838,7 @@ ble_error_t Gap::set_periodic_advertising_data(
841838
{
842839
DmPerAdvSetData(
843840
advertising_handle,
844-
HCI_ADV_DATA_OP_COMP_FRAG,
841+
fragment_description.value(),
845842
advertising_data_size,
846843
const_cast<uint8_t *>(advertising_data)
847844
);

0 commit comments

Comments
 (0)