low_flash_available() should be called outside.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
07305e6fd7
commit
9cfe762043
1 changed files with 0 additions and 2 deletions
|
|
@ -375,7 +375,6 @@ int meta_add(uint16_t fid, const uint8_t *data, uint16_t len) {
|
|||
free(fdata);
|
||||
if (r != CCID_OK)
|
||||
return CCID_EXEC_ERROR;
|
||||
low_flash_available();
|
||||
return CCID_OK;
|
||||
}
|
||||
else { //needs reallocation
|
||||
|
|
@ -396,7 +395,6 @@ int meta_add(uint16_t fid, const uint8_t *data, uint16_t len) {
|
|||
free(fdata);
|
||||
if (r != CCID_OK)
|
||||
return CCID_EXEC_ERROR;
|
||||
low_flash_available();
|
||||
return CCID_OK;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue