fixed the missing erasing of flash memory bank.
This commit is contained in:
1 parent
4e6962864a
commit
944af6be95
2 files changed
+4
-1
No files matched your search
@@ -275,7 +275,8 @@ static int CmdFlashMemLoad(const char *Cmd) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
// not needed when we transite to loadxxxx_safe methods.(iceman)
|
||||
|
||||
// ICEMAN: not needed when we transite to loadxxxx_safe methods
|
||||
uint8_t *newdata = realloc(data, datalen);
|
||||
if (newdata == NULL) {
|
||||
free(data);
|
||||
|
||||
Reference in new issue
Block a user