diff options
Diffstat (limited to 'common/throttle_ap.c')
-rw-r--r-- | common/throttle_ap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/throttle_ap.c b/common/throttle_ap.c index 209948a482..d82d5429e5 100644 --- a/common/throttle_ap.c +++ b/common/throttle_ap.c @@ -30,7 +30,7 @@ void throttle_ap(enum throttle_level level, mutex_lock(&throttle_mutex); - bitmask = (1 << source); + bitmask = BIT(source); switch (level) { case THROTTLE_ON: |