example: revert accidental commit

This commit is contained in:
Matthias Ringwald 2021-06-12 00:08:36 +02:00
parent 98ef7bd9eb
commit 04d1de7f2d
2 changed files with 2 additions and 4 deletions

View File

@ -234,7 +234,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
break;
case RFCOMM_EVENT_CAN_SEND_NOW:
// spp_send_packet();
spp_send_packet();
break;
case RFCOMM_EVENT_CHANNEL_CLOSED:
@ -307,7 +307,6 @@ int btstack_main(int argc, const char * argv[])
gap_ssp_set_io_capability(SSP_IO_CAPABILITY_DISPLAY_YES_NO);
gap_set_local_name("SPP Streamer 00:00:00:00:00:00");
gap_set_bondable_mode(0);
gap_discoverable_control(1);
spp_create_test_data();

View File

@ -339,7 +339,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
#if (TEST_MODE & TEST_MODE_SEND)
case RFCOMM_EVENT_CAN_SEND_NOW:
// spp_send_packet();
spp_send_packet();
break;
#endif
@ -405,7 +405,6 @@ int btstack_main(int argc, const char * argv[]){
// init SDP
gap_ssp_set_io_capability(SSP_IO_CAPABILITY_DISPLAY_YES_NO);
gap_set_bondable_mode(0);
// turn on!
hci_power_control(HCI_POWER_ON);