diff options
Diffstat (limited to 'include/pwm.h')
-rw-r--r-- | include/pwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pwm.h b/include/pwm.h index 48963d9d3c..b56f9f8c1a 100644 --- a/include/pwm.h +++ b/include/pwm.h @@ -6,10 +6,10 @@ #ifndef __CROS_EC_PWM_H #define __CROS_EC_PWM_H -#include <inttypes.h> - #include "util.h" +#include <inttypes.h> + #define PWM_RAW_TO_PERCENT(v) DIV_ROUND_NEAREST((uint32_t)(v)*100, UINT16_MAX) #define PWM_PERCENT_TO_RAW(v) ((uint32_t)(v)*UINT16_MAX / 100) |