diff --git a/stm32-stepper-root/stepper_h7/CM7/Core/Src/Spindle/spindel.c b/stm32-stepper-root/stepper_h7/CM7/Core/Src/Spindle/spindel.c index 39c2f34..71fcf01 100644 --- a/stm32-stepper-root/stepper_h7/CM7/Core/Src/Spindle/spindel.c +++ b/stm32-stepper-root/stepper_h7/CM7/Core/Src/Spindle/spindel.c @@ -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); }