This commit is contained in:
fewikay committed 2026-10-19 14:18:02 +02:00
1 parent 296787e883
commit 9b63d79ae5
1 file changed
+2 -2
@@ -19,7 +19,7 @@ static void SPINDLE_SetDutyCycle(SpindleHandle_t h, void* context, int backwards
__HAL_TIM_SET_COMPARE(&htim2, TIM_CHANNEL_4, pulse);
}
printf("duty=%f backwards=%d pulse=%lu\r\n", dutyCycle, backwards, (unsigned long)pulse);
printf("duty=%f backwards=%d pulse=%lu\n", dutyCycle, backwards, (unsigned long)pulse);
}
@@ -39,7 +39,7 @@ static void SPINDLE_EnaPWM(SpindleHandle_t h, void* context, int ena){
HAL_GPIO_WritePin(SPINDLE_ENA_R_GPIO_Port, SPINDLE_ENA_R_Pin, GPIO_PIN_RESET);
}
printf("ena=%d\r\n", ena);
printf("ena=%d\n", ena);
}