mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-11 09:48:24 +02:00
@@ -406,6 +406,8 @@ int meta_add(uint16_t fid, const uint8_t *data, uint16_t len) {
|
|||||||
memcpy(f, data, len);
|
memcpy(f, data, len);
|
||||||
r = flash_write_data_to_file(ef, fdata, ef_size+1+format_tlv_len(len+2,NULL)+2+len);
|
r = flash_write_data_to_file(ef, fdata, ef_size+1+format_tlv_len(len+2,NULL)+2+len);
|
||||||
free(fdata);
|
free(fdata);
|
||||||
|
if (r != CCID_OK)
|
||||||
|
return CCID_EXEC_ERROR;
|
||||||
return CCID_OK;
|
return CCID_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user