fix(system): format esp_common, app_format and bootloader_format with astyle

This commit is contained in:
Marius Vikhammer
2024-01-29 09:52:55 +08:00
parent e8dee79bb5
commit 043dae211e
10 changed files with 5 additions and 18 deletions

View File

@@ -31,7 +31,7 @@ TEST(esp_app_format, esp_app_get_elf_sha256_test)
char ref_sha256[sha256_hex_len + 1];
const esp_app_desc_t* desc = esp_app_get_description();
for (int i = 0; i < sizeof(ref_sha256) / 2; ++i) {
snprintf(ref_sha256 + 2*i, 3, "%02x", desc->app_elf_sha256[i]);
snprintf(ref_sha256 + 2 * i, 3, "%02x", desc->app_elf_sha256[i]);
}
ref_sha256[sha256_hex_len] = 0;