Skip to content

Commit 4ae91ed

Browse files
author
Laurent MEUNIER
committed
[STM32F4] pwmout: remove printf
This remains from a debug session but is not needed and creates a warning, so better remove it.
1 parent aa69b27 commit 4ae91ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32F4/pwmout_api.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ void pwmout_pulsewidth_ms(pwmout_t* obj, int ms)
296296
void pwmout_pulsewidth_us(pwmout_t* obj, int us)
297297
{
298298
float value = (float)us / (float)obj->period;
299-
printf("pwmout_pulsewidth_us: period=%d, us=%d, dc=%d%%\r\n", obj->period, us, (int) (value*100));
300299
pwmout_write(obj, value);
301300
}
302301

0 commit comments

Comments
 (0)