Skip to content

Commit 842546d

Browse files
authored
Merge pull request #2552 from LMESTM/fix_pwmout_remove_printf
STM32F4: pwmout: remove printf
2 parents 6a1208a + 4ae91ed commit 842546d

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)