Skip to content

Commit

Permalink
[ESP32]: Fixed the undef build failure on disabling CHIP_DEVICE_CONFI…
Browse files Browse the repository at this point in the history
…G_ENABLE_TEST_SETUP_PARAMS (project-chip#36945)
  • Loading branch information
shripad621git authored Jan 3, 2025
1 parent 2249628 commit 6e4ed35
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/platform/ESP32/CHIPDevicePlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,13 @@
#define CHIP_DEVICE_CONFIG_BLE_SLOW_ADVERTISING_INTERVAL_MAX CONFIG_BLE_SLOW_ADVERTISING_INTERVAL_MAX
#define CHIP_DEVICE_CONFIG_CHIPOBLE_SINGLE_CONNECTION CONFIG_CHIPOBLE_SINGLE_CONNECTION
#define CHIP_DEVICE_CONFIG_CHIPOBLE_ENABLE_ADVERTISING_AUTOSTART CONFIG_CHIPOBLE_ENABLE_ADVERTISING_AUTOSTART
#define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS CONFIG_ENABLE_TEST_SETUP_PARAMS

#ifdef CONFIG_ENABLE_TEST_SETUP_PARAMS
#define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS 1
#else
#define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS 0
#endif // CONFIG_ENABLE_TEST_SETUP_PARAMS

#define CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER CONFIG_USE_TEST_SERIAL_NUMBER

#ifdef CONFIG_ENABLE_THREAD_TELEMETRY
Expand Down

0 comments on commit 6e4ed35

Please sign in to comment.