mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2025-07-15 13:58:13 +02:00
Records: In init_timerange, use init_range after finding start and end sn
This commit is contained in:
parent
6b6a40d383
commit
dd2f0a1265
1 changed files with 1 additions and 3 deletions
|
@ -96,9 +96,7 @@ int ens_records_iterator_init_timerange(record_iterator_t* iterator, uint32_t* t
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
iterator->finished = false;
|
ens_records_iterator_init_range(iterator, &start_rec.sn, &end_rec.sn);
|
||||||
iterator->sn_next = start_rec.sn;
|
|
||||||
iterator->sn_end = end_rec.sn;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue