Skip to content

Commit

Permalink
fix print formatting for persistent-storage app
Browse files Browse the repository at this point in the history
  • Loading branch information
srickardti committed Jun 17, 2021
1 parent 7412b38 commit 319f55d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/persistent-storage/KeyValueStorageTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ using namespace chip::DeviceLayer::PersistedStorage;
{ \
char error_str[255]; \
chip::FormatCHIPError(error_str, sizeof(error_str), temp_test_result); \
ChipLogError(NotSpecified, "%s: FAILED %d [%s]", #test_result, temp_test_result, chip::ErrorStr(temp_test_result)); \
ChipLogError(NotSpecified, "%s: FAILED %ld [%s]", #test_result, temp_test_result, chip::ErrorStr(temp_test_result)); \
} \
else \
{ \
Expand Down
2 changes: 1 addition & 1 deletion examples/persistent-storage/cc13x2x7_26x2x7/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ ti_simplelink_executable("persistent_storage") {
output_name = "chip-${ti_simplelink_board}-persistent_storage.out"

sources = [
"${project_dir}/main.cpp",
"${project_dir}/../KeyValueStorageTest.cpp",
"${project_dir}/main.cpp",
]

deps = [
Expand Down
2 changes: 1 addition & 1 deletion examples/persistent-storage/cc13x2x7_26x2x7/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

#include <platform/CHIPDeviceLayer.h>

#include <AppConfig.h>
#include "KeyValueStorageTest.h"
#include <AppConfig.h>

#include <FreeRTOS.h>
#include <task.h>
Expand Down
2 changes: 1 addition & 1 deletion src/platform/cc13x2_26x2/CC13X2_26X2Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class CC13X2_26X2Config
static const Key kConfigKey_RegulatoryLocation;
static const Key kConfigKey_CountryCode;
static const Key kConfigKey_Breadcrumb;
static const Key kConfigKey_KVS_key; // special key for KVS system, key storage
static const Key kConfigKey_KVS_key; // special key for KVS system, key storage
static const Key kConfigKey_KVS_value; // special key for KVS system, value storage

static CHIP_ERROR Init(void);
Expand Down

0 comments on commit 319f55d

Please sign in to comment.