Factored Stepgen2, StepGen3 is a copy of Stepgen2

This commit is contained in:
Hakan Bastedt
2024-03-21 16:45:46 +01:00
parent 30a9f10c7b
commit fa34d81e41
3 changed files with 8 additions and 31 deletions

View File

@@ -50,13 +50,4 @@ public:
uint32_t updatePos(uint32_t i);
};
class extend32to64
{
public:
int64_t previousTimeValue = 0;
const uint64_t ONE_PERIOD = 4294967296; // almost UINT32_MAX;
const uint64_t HALF_PERIOD = 2147483648; // Half of that
int64_t extendTime(uint32_t in);
};
#endif