Skip to content

Commit

Permalink
update sdk config
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Dec 20, 2024
1 parent a0d0528 commit 023331b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/sdk_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2527,7 +2527,7 @@
// <e> TWI_ENABLED - nrf_drv_twi - TWI/TWIM peripheral driver
//==========================================================
#ifndef TWI_ENABLED
#define TWI_ENABLED 1
#define TWI_ENABLED 0
#endif
#if TWI_ENABLED
// <o> TWI_DEFAULT_CONFIG_FREQUENCY - Frequency
Expand Down
1 change: 1 addition & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ static void advertising_init(void)
// Build advertising data struct to pass into @ref ble_advertising_init.
memset(&advdata, 0, sizeof(advdata));
advdata.name_type = BLE_ADVDATA_FULL_NAME;
advdata.include_appearance = false;
advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;

memset(&scanrsp, 0, sizeof(scanrsp));
Expand Down

0 comments on commit 023331b

Please sign in to comment.