projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
drv
/
pwm.c
diff --git
a/bertos/drv/pwm.c
b/bertos/drv/pwm.c
index 3062802032c0730d3f4ea22533fdcc7d12b0935d..d09d9627caa16a0d9da491ee06409ac376203d94 100644
(file)
--- a/
bertos/drv/pwm.c
+++ b/
bertos/drv/pwm.c
@@
-32,7
+32,6
@@
*
* \brief PWM driver (implementation)
*
*
* \brief PWM driver (implementation)
*
- * \version $Id$
*
* \author Francesco Sacchi <batt@develer.com>
* \author Daniele Basile <asterix@develer.com>
*
* \author Francesco Sacchi <batt@develer.com>
* \author Daniele Basile <asterix@develer.com>
@@
-72,7
+71,7
@@
void pwm_setDuty(PwmDev dev, pwm_duty_t duty)
real_duty = (uint64_t)(duty * period) >> (uint64_t)PWM_MAX_PERIOD_LOG2;
real_duty = (uint64_t)(duty * period) >> (uint64_t)PWM_MAX_PERIOD_LOG2;
- LOG_INFO("real_duty[%d] duty[%d], period[%d]", real_duty, duty, period);
+ LOG_INFO("real_duty[%d] duty[%d], period[%d]
\n
", real_duty, duty, period);
pwm_hw_setDutyUnlock(dev, real_duty);
}
pwm_hw_setDutyUnlock(dev, real_duty);
}