summaryrefslogtreecommitdiff
path: root/common/peripheral_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/peripheral_charger.c')
-rw-r--r--common/peripheral_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/peripheral_charger.c b/common/peripheral_charger.c
index 0a597ad6bd..9ed8d8394d 100644
--- a/common/peripheral_charger.c
+++ b/common/peripheral_charger.c
@@ -22,7 +22,7 @@
#define CPRINTS(fmt, args...) cprints(CC_PCHG, "PCHG: " fmt, ##args)
/* Currently only used for FW update. */
-static uint32_t pchg_host_events;
+static atomic_t pchg_host_events;
static void pchg_queue_event(struct pchg *ctx, enum pchg_event event)
{