git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7412 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
b2c261eeee
commit
038c3e9d9e
|
@ -181,7 +181,7 @@ typedef void (*icucallback_t)(ICUDriver *icup);
|
|||
*/
|
||||
#define _icu_isr_invoke_width_cb(icup) do { \
|
||||
if (((icup)->state == ICU_ACTIVE) && \
|
||||
((icup)->config->period_cb != NULL)) \
|
||||
((icup)->config->width_cb != NULL)) \
|
||||
(icup)->config->width_cb(icup); \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue