Skip to content

Commit

Permalink
bump and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
garethpotter committed Feb 29, 2024
1 parent 5c03749 commit b55ea67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/storage_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ int thingset_storage_load()

int calculated_crc = 0x0;
int i = 0;
uint32_t last_id = 0;
size_t processed_size = 0;
size_t total_read_size = EEPROM_HEADER_SIZE;
do {
Expand All @@ -109,7 +110,7 @@ int thingset_storage_load()
LOG_DBG("Begining import of EEPROM data");
}
err = thingset_do_import_data_progressively(&ts, THINGSET_WRITE_MASK, size,
&processed_size);
&last_id, &processed_size);
calculated_crc = crc32_ieee_update(calculated_crc, sbuf->data, processed_size);
total_read_size += processed_size;
len -= processed_size;
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ manifest:
- picolibc
- name: thingset-node-c
remote: garethpotter
revision: 7db12e79c0218d174b94fb8be4c4a5314a2a7c56
revision: c4e3d12f4d08d29a283a1ba1c8d126b47d61ef25
path: modules/thingset-node-c
import: true

0 comments on commit b55ea67

Please sign in to comment.