git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7297 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
a9d482f0fc
commit
2788713570
|
@ -169,13 +169,13 @@ typedef void (*pwmcallback_t)(PWMDriver *pwmp);
|
|||
* guaranteed.
|
||||
*
|
||||
* @param[in] pwmp pointer to a @p PWMDriver object
|
||||
* @param[in] period new cycle time in ticks
|
||||
* @param[in] value new cycle time in ticks
|
||||
*
|
||||
* @iclass
|
||||
*/
|
||||
#define pwmChangePeriodI(pwmp, period) { \
|
||||
(pwmp)->period = (period); \
|
||||
pwm_lld_change_period(pwmp, period); \
|
||||
#define pwmChangePeriodI(pwmp, value) { \
|
||||
(pwmp)->period = (value); \
|
||||
pwm_lld_change_period(pwmp, value); \
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue