Do no parse flash data as TLV.

Solves #50.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-02-19 15:57:59 +01:00
parent ffbdef14b6
commit 1f037da326

View File

@@ -54,7 +54,7 @@ int cmd_get_data() {
}
uint16_t fids[] = { 1, fid };
uint16_t data_len = parse_do(fids, 1);
if (!(fid >= EF_PRIV_DO_1 && fid <= EF_PRIV_DO_4)) {
if (!(ef->type & FILE_DATA_FLASH)) {
uint8_t *p = NULL;
uint16_t tg = 0;
uint16_t tg_len = 0;