From 9bc29da9598b67075c887f9e61f3e1c07e785f18 Mon Sep 17 00:00:00 2001 From: Gareth Potter Date: Thu, 29 Feb 2024 09:02:24 +0000 Subject: [PATCH] bump and fix --- src/storage_eeprom.c | 3 ++- west.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/storage_eeprom.c b/src/storage_eeprom.c index 7aefe57..340d4cb 100644 --- a/src/storage_eeprom.c +++ b/src/storage_eeprom.c @@ -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 { @@ -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; diff --git a/west.yml b/west.yml index 904f741..63f1e88 100644 --- a/west.yml +++ b/west.yml @@ -29,6 +29,6 @@ manifest: - picolibc - name: thingset-node-c remote: garethpotter - revision: 7db12e79c0218d174b94fb8be4c4a5314a2a7c56 + revision: c4e3d12f4d08d29a283a1ba1c8d126b47d61ef25 path: modules/thingset-node-c import: true