New pwmCycleTime different from sync0CycleTime

This commit is contained in:
Hakan Bastedt
2024-01-20 12:37:42 +01:00
parent e6bfe4f880
commit 1f97534133
3 changed files with 9 additions and 6 deletions

View File

@@ -26,6 +26,7 @@ private:
public:
static uint32_t sync0CycleTime;
static uint32_t pwmCycleTime;
StepGen(TIM_TypeDef *Timer, uint32_t timerChannel, PinName stepPin, uint8_t dirPin, void irq(void));
void reqPos(double_t pos);