Skip to content

Commit

Permalink
fixup! sys/confiuration: add FlashDB backend
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian18 committed Sep 12, 2023
1 parent 040dd9f commit c7a93ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/configuration/backend_flashdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ static int _be_fdb_load(const struct conf_backend *be,
if (!blob.saved.len) {
return -ENODATA;
}
assert(*size >= sz);
*size -= sz;
return 0;

}
Expand Down

0 comments on commit c7a93ba

Please sign in to comment.