Ajstros / pyripherals

Python solution for communicating with peripheral ICs
GNU General Public License v3.0
2 stars 3 forks source link

Fix bug where end of last save gets cut off and not all data is returned #20

Closed Ajstros closed 2 years ago

Ajstros commented 2 years ago

When I added the append parameter to DDR3.save_data, I accidentally created a bug that caused newly saved data to be shifted such that it overlapped with previous data. This fixes the issue by resizing the existing h5 dataset to accommodate the incoming first chunk when append=True.