Skip to content

Commit

Permalink
[nrfconnect] Fix setting pincode based on kconfig. (#23172)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kkasperczyk-no authored and pull[bot] committed May 2, 2023
1 parent c7c326b commit 2293770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/nrfconnect/CHIPDevicePlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2293770

Please sign in to comment.