stm32/mbedtls: Fix compile warning about uninitialized val.

This commit is contained in:
Ned Konz 2021-08-06 07:28:38 -07:00 committed by Damien George
parent a0cd18c1a5
commit 42d1a1635c
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void m_free_mbedtls(void *ptr_in) {
}
int mbedtls_hardware_poll(void *data, unsigned char *output, size_t len, size_t *olen) {
uint32_t val;
uint32_t val = 0;
int n = 0;
*olen = len;
while (len--) {