TIM8 replaced with TIM3. TIM3,chan4 works on PC9. TIM8,chan4 should work but doesn't. How should one know?

This commit is contained in:
Hakan Bastedt
2024-01-18 17:21:12 +01:00
parent 9ab4afabe4
commit 9e311038c1
2 changed files with 5 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ void StepGen::enable(uint8_t yes)
void StepGen::handleStepper(void)
{
if (!enabled)
return;
return;
actPos(timerStepPosition / double(stepsPerMM));
double diffPosition = reqPos() - actPos();