Skip to content

Commit 27f09af

Browse files
author
Xiaoxia
committed
fix: compiling errors
1 parent 2fd997c commit 27f09af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/assets.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ bool Assets::Apply() {
133133
cJSON* version = cJSON_GetObjectItem(root, "version");
134134
if (cJSON_IsNumber(version)) {
135135
if (version->valuedouble > 1) {
136-
ESP_LOGE(TAG, "The assets version %d is not supported, please upgrade the firmware", version->valuedouble);
136+
ESP_LOGE(TAG, "The assets version %d is not supported, please upgrade the firmware", version->valueint);
137137
return false;
138138
}
139139
}

0 commit comments

Comments
 (0)