mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
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
Konstantin Kondrashov
parent
df61612f8f
commit
7822484aaa
@@ -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