mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-04-26 19:00:34 +02:00
low_flash_available() should be called outside.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user