summaryrefslogtreecommitdiff
path: root/board/host/charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/host/charger.c')
-rw-r--r--board/host/charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/host/charger.c b/board/host/charger.c
index 0ec8ab605c..29774359ef 100644
--- a/board/host/charger.c
+++ b/board/host/charger.c
@@ -24,7 +24,7 @@ static const struct charger_info mock_charger_info = {
.input_current_step = 128,
};
-#define OPTION_CHARGE_INHIBIT (1 << 0)
+#define OPTION_CHARGE_INHIBIT BIT(0)
static uint32_t mock_option;
static uint32_t mock_mode;