Преглед изворни кода

Merge branch 'bugfix/ota_get_sha256_test_fail' into 'master'

app_update: fix test failure for get_app_elf_sha256 test

See merge request espressif/esp-idf!8096
Ivan Grokhotkov пре 6 година
родитељ
комит
8aad738f02
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      components/app_update/test/test_app_desc.c

+ 1 - 1
components/app_update/test/test_app_desc.c

@@ -4,7 +4,7 @@
 
 TEST_CASE("esp_ota_get_app_elf_sha256 test", "[esp_app_desc]")
 {
-    const int sha256_hex_len = 64;
+    const int sha256_hex_len = CONFIG_APP_RETRIEVE_LEN_ELF_SHA;
     char dst[sha256_hex_len + 2];
     const char fill = 0xcc;
     int res;