Skip to content

Commit

Permalink
fix a issue about GetPartitionLabelByNamespace (#23738)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry-ESP authored and pull[bot] committed Aug 25, 2023
1 parent 0e14377 commit 9882889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/ESP32/ESP32Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const char * ESP32Config::GetPartitionLabelByNamespace(const char * ns)
{
return CHIP_DEVICE_CONFIG_CHIP_CONFIG_NAMESPACE_PARTITION;
}
else if (strcmp(ns, kConfigNamespace_ChipCounters))
else if (strcmp(ns, kConfigNamespace_ChipCounters) == 0)
{
return CHIP_DEVICE_CONFIG_CHIP_COUNTERS_NAMESPACE_PARTITION;
}
Expand Down

0 comments on commit 9882889

Please sign in to comment.