forked from espressif/esp-idf
efuse: Fix unused variable warning when NDEBUG
Merges: https://github.com/espressif/esp-idf/pull/3429 Closes: https://github.com/espressif/esp-idf/issues/3432
This commit is contained in:
committed by
KonstantinKondrashov
parent
618aa6a3a4
commit
7d9330d1af
@@ -104,6 +104,7 @@ void esp_efuse_write_random_key(uint32_t blk_wdata0_reg)
|
|||||||
} else { // 3/4 Coding Scheme
|
} else { // 3/4 Coding Scheme
|
||||||
bootloader_fill_random(raw, sizeof(raw));
|
bootloader_fill_random(raw, sizeof(raw));
|
||||||
esp_err_t r = esp_efuse_apply_34_encoding(raw, buf, sizeof(raw));
|
esp_err_t r = esp_efuse_apply_34_encoding(raw, buf, sizeof(raw));
|
||||||
|
(void) r;
|
||||||
assert(r == ESP_OK);
|
assert(r == ESP_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user