Cleanup (the Fluxmap doesn't store intervals any more, just byte opcode

things).
This commit is contained in:
David Given
2019-02-22 20:25:28 +01:00
parent 79e3e686eb
commit f5a3f18478
8 changed files with 37 additions and 29 deletions

View File

@@ -203,7 +203,7 @@ std::unique_ptr<Fluxmap> usbRead(int side, int revolutions)
int len = large_bulk_transfer(FLUXENGINE_DATA_IN_EP, buffer);
buffer.resize(len);
fluxmap->appendIntervals(buffer);
fluxmap->appendBytes(buffer);
await_reply<struct any_frame>(F_FRAME_READ_REPLY);
return fluxmap;