1
0
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:
H1ghBre4k3r 2021-05-03 21:26:42 +02:00 committed by Patrick Rathje
parent 6b6a40d383
commit dd2f0a1265

View File

@ -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;
}