Precompensation adjustment is now done before writing (using hard-coded

values).
This commit is contained in:
David Given
2019-01-03 22:03:00 +01:00
parent d1f4e6e198
commit 8d8f7b43c7
3 changed files with 28 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ public:
Fluxmap& appendBits(const std::vector<bool>& bits, nanoseconds_t clock);
void precompensate(int threshold_ticks, int amount_ticks);
private:
nanoseconds_t _duration = 0;
int _ticks = 0;