diff options
Diffstat (limited to 'include/fan.h')
-rw-r--r-- | include/fan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fan.h b/include/fan.h index 2facf83d9f..a92d35fccb 100644 --- a/include/fan.h +++ b/include/fan.h @@ -33,9 +33,9 @@ struct fan_t { /* Values for .flags field */ /* Enable automatic RPM control using tach input */ -#define FAN_USE_RPM_MODE (1 << 0) +#define FAN_USE_RPM_MODE BIT(0) /* Require a higher duty cycle to start up than to keep running */ -#define FAN_USE_FAST_START (1 << 1) +#define FAN_USE_FAST_START BIT(1) /* The list of fans is instantiated in board.c. */ extern struct fan_t fans[]; |