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 (#36945) (#36951)
  • Loading branch information
shripad621git authored Jan 7, 2025
1 parent a07eef8 commit 8323b1b
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 @@ -124,7 +124,13 @@
#define CHIP_DEVICE_CONFIG_SERVICE_PROVISIONING_ENDPOINT_ID CONFIG_SERVICE_PROVISIONING_ENDPOINT_ID
#define CHIP_DEVICE_CONFIG_SERVICE_PROVISIONING_CONNECTIVITY_TIMEOUT CONFIG_SERVICE_PROVISIONING_CONNECTIVITY_TIMEOUT
#define CHIP_DEVICE_CONFIG_SERVICE_PROVISIONING_REQUEST_TIMEOUT CONFIG_SERVICE_PROVISIONING_REQUEST_TIMEOUT
#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 8323b1b

Please sign in to comment.