From 3d26596d99a5eaeced62f837bb496cab1a45945a Mon Sep 17 00:00:00 2001 From: Kamil Kasperczyk Date: Thu, 13 Oct 2022 14:53:43 +0200 Subject: [PATCH] [nrfconnect] Fix setting pincode based on kconfig. 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