diff options
Diffstat (limited to 'include/button.h')
-rw-r--r-- | include/button.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/button.h b/include/button.h index 5fca2e9037..2e1749c338 100644 --- a/include/button.h +++ b/include/button.h @@ -12,7 +12,7 @@ #include "compile_time_macros.h" #include "gpio.h" -#define BUTTON_FLAG_ACTIVE_HIGH (1 << 0) +#define BUTTON_FLAG_ACTIVE_HIGH BIT(0) enum keyboard_button_type { KEYBOARD_BUTTON_POWER = 0, |