Fix a horrifying bug which was causing all data from USB to be discarded.

This commit is contained in:
David Given
2018-10-20 19:39:34 +02:00
parent 8244f9ec51
commit 3a0ce92468
3 changed files with 41 additions and 42 deletions

View File

@@ -4,7 +4,7 @@
Fluxmap& Fluxmap::appendIntervals(std::vector<uint8_t>& intervals)
{
return appendIntervals(&_intervals[0], _intervals.size());
return appendIntervals(&intervals[0], intervals.size());
}
Fluxmap& Fluxmap::appendIntervals(const uint8_t* ptr, size_t len)