summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ec_commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index f14e6a0fa8..e17a784215 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -1207,8 +1207,8 @@ struct ec_params_pwm_set_fan_duty_v1 {
} __packed;
#define EC_CMD_PWM_SET_DUTY 0x25
-/* 16 bit duty cycle, 65535 = 100% */
-#define EC_PWM_MAX_DUTY 65535
+/* 16 bit duty cycle, 0xffff = 100% */
+#define EC_PWM_MAX_DUTY 0xffff
enum ec_pwm_type {
/* All types, indexed by board-specific enum pwm_channel */