mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2024-12-05 00:55:43 +01:00
Records: In init_timerange, use init_range after finding start and end sn
This commit is contained in:
parent
6b6a40d383
commit
dd2f0a1265
@ -96,9 +96,7 @@ int ens_records_iterator_init_timerange(record_iterator_t* iterator, uint32_t* t
|
||||
}
|
||||
}
|
||||
|
||||
iterator->finished = false;
|
||||
iterator->sn_next = start_rec.sn;
|
||||
iterator->sn_end = end_rec.sn;
|
||||
ens_records_iterator_init_range(iterator, &start_rec.sn, &end_rec.sn);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user