efm32: Allow to compile with -Og.

This commit is contained in:
Uwe Bonnes 2019-11-27 19:05:09 +01:00
parent ea779d1372
commit 25d24e5c34
1 changed files with 1 additions and 1 deletions

View File

@ -829,7 +829,7 @@ static bool efm32_cmd_efm_info(target *t, int argc, const char **argv)
if (di_version == 2) {
efm32_v2_di_miscchip_t miscchip = efm32_v2_read_miscchip(t, di_version);
efm32_v2_di_pkgtype_t const* pkgtype;
efm32_v2_di_pkgtype_t const* pkgtype = NULL;
efm32_v2_di_tempgrade_t const* tempgrade;
for (size_t i = 0; i < (sizeof(efm32_v2_di_pkgtypes) /