Skip to content

Commit 9887457

Browse files
kkasperczyk-nopull[bot]
authored andcommitted
[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.
1 parent 4680b1a commit 9887457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/nrfconnect/CHIPDevicePlatformConfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#endif
4141

4242
#ifndef CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE
43-
#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE CONFIG_CHIP_DEVICE_PAIRING_PASSCODE
43+
#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE CONFIG_CHIP_DEVICE_SPAKE2_PASSCODE
4444
#endif
4545

4646
#ifndef CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR

0 commit comments

Comments
 (0)