mirror of
https://github.com/tsl0922/EPD-nRF5.git
synced 2025-12-06 15:42:48 +08:00
update sdk config
This commit is contained in:
@@ -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
|
||||
|
||||
1
main.c
1
main.c
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user