[fdb] Remove sector continuous mode assert check. It may trigger accidentally when db meta info has an error.

This commit is contained in:
armink 2023-10-15 11:36:50 +08:00
parent 1d2fc750f9
commit 5a8d7d0842
1 changed files with 0 additions and 1 deletions

View File

@ -355,7 +355,6 @@ static fdb_err_t read_kv(fdb_kvdb_t db, fdb_kv_t kv)
return FDB_READ_ERR;
} else if (kv->len > db_sec_size(db) - SECTOR_HDR_DATA_SIZE && kv->len < db_max_size(db)) {
//TODO Sector continuous mode, or the write length is not written completely
FDB_ASSERT(0);
}
/* CRC32 data len(header.name_len + header.value_len + name + value), using sizeof(uint32_t) for compatible V1.x */