Skip to content
Snippets Groups Projects
Commit fe9d5edf authored by schneider's avatar schneider
Browse files

fix(gfx): Remove obsolete prints

parent db2e37d3
No related branches found
No related tags found
No related merge requests found
......@@ -85,9 +85,7 @@ void DEV_Set_BL(uint16_t _Value)
gpio_pwm.mask = PIN_PWM;
gpio_pwm.pad = GPIO_PAD_PULL_DOWN;
if (GPIO_Config(&gpio_pwm) != E_NO_ERROR) {
printf("Failed GPIO_Config for pwm.\n");
}
GPIO_Config(&gpio_pwm);
/*
Steps for configuring a timer for PWM mode:
......@@ -111,11 +109,6 @@ void DEV_Set_BL(uint16_t _Value)
tmr_pwm.per_cnt = period_ticks;
tmr_pwm.duty_cnt = duty_ticks;
if (TMR_PWMConfig(PWM_TIMER, &tmr_pwm) != E_NO_ERROR) {
printf("Failed TMR_PWMConfig.\n");
}
TMR_PWMConfig(PWM_TIMER, &tmr_pwm);
TMR_Enable(PWM_TIMER);
printf("PWM started.\n");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment