git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7412 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2014-10-18 08:45:33 +00:00
parent b2c261eeee
commit 038c3e9d9e
1 changed files with 1 additions and 1 deletions

View File

@ -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)