From 988745763ec57995dd859d9e1905df3eeda55323 Mon Sep 17 00:00:00 2001 From: Kamil Kasperczyk <66371704+kkasperczyk-no@users.noreply.github.com> Date: Thu, 13 Oct 2022 20:09:10 +0200 Subject: [PATCH] [nrfconnect] Fix setting pincode based on kconfig. (#23172) Currently the CONFIG_CHIP_DEVICE_PAIRING_PASSCODE is used for setting pincode, but such symbol doesn't exist anymore. Used correct CONFIG_CHIP_DEVICE_SPAKE2_PASSCODE symbol instead. --- src/platform/nrfconnect/CHIPDevicePlatformConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/nrfconnect/CHIPDevicePlatformConfig.h b/src/platform/nrfconnect/CHIPDevicePlatformConfig.h index f9c3d086aecefa..d18c4af235cb3d 100644 --- a/src/platform/nrfconnect/CHIPDevicePlatformConfig.h +++ b/src/platform/nrfconnect/CHIPDevicePlatformConfig.h @@ -40,7 +40,7 @@ #endif #ifndef CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE -#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE CONFIG_CHIP_DEVICE_PAIRING_PASSCODE +#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE CONFIG_CHIP_DEVICE_SPAKE2_PASSCODE #endif #ifndef CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR