mirror of https://github.com/ARMmbed/mbed-os.git
[STM32F4] pwmout: remove printf
This remains from a debug session but is not needed and creates a warning, so better remove it.pull/2552/head
parent
aa69b274c5
commit
4ae91ed73c
|
|
@ -296,7 +296,6 @@ void pwmout_pulsewidth_ms(pwmout_t* obj, int ms)
|
||||||
void pwmout_pulsewidth_us(pwmout_t* obj, int us)
|
void pwmout_pulsewidth_us(pwmout_t* obj, int us)
|
||||||
{
|
{
|
||||||
float value = (float)us / (float)obj->period;
|
float value = (float)us / (float)obj->period;
|
||||||
printf("pwmout_pulsewidth_us: period=%d, us=%d, dc=%d%%\r\n", obj->period, us, (int) (value*100));
|
|
||||||
pwmout_write(obj, value);
|
pwmout_write(obj, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue