Skip to content

Commit

Permalink
Use explicit value in the initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
selissia committed Oct 15, 2021
1 parent 437a3a7 commit 70de8f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/Darwin/PosixConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ const PosixConfig::Key PosixConfig::kConfigKey_Breadcrumb = { kConfigNam
// Prefix used for NVS keys that contain Chip group encryption keys.
const char PosixConfig::kGroupKeyNamePrefix[] = "gk-";

uint16_t PosixConfig::mPosixSetupDiscriminator;
uint16_t PosixConfig::mPosixSetupDiscriminator = 0xF00; //CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR

CHIP_ERROR PosixConfig::Init()
{
CHIP_ERROR err = CHIP_NO_ERROR;

mPosixSetupDiscriminator = CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR;
mPosixSetupDiscriminator = 0xF00; // CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR
return err;
}

Expand Down

0 comments on commit 70de8f9

Please sign in to comment.