summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-09-11 09:20:45 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-11 13:51:07 -0700
commit39c422597af03f6b07684664e0d58e477c9e99a4 (patch)
tree37e1ab65aad836536bc41756d29ecc464db887f5
parentfd92f9bfebcf3125cf2a7e0f5931f3cd50e395e8 (diff)
downloadchrome-ec-39c422597af03f6b07684664e0d58e477c9e99a4.tar.gz
usb_charge: fix custom event mask
Fix custom event mask, which should be a power of 2. BUG=none BRANCH=none TEST=make -j buildall Change-Id: Iaeacf9b07817ee94452c58beb6a794a5a9733355 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/299262 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--include/usb_charge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_charge.h b/include/usb_charge.h
index 0714fc3a44..5d21a6aab9 100644
--- a/include/usb_charge.h
+++ b/include/usb_charge.h
@@ -50,7 +50,7 @@ int usb_charge_ports_enabled(void);
/* Events handled by the USB_CHG task */
#define USB_CHG_EVENT_BC12 TASK_EVENT_CUSTOM(1)
#define USB_CHG_EVENT_VBUS TASK_EVENT_CUSTOM(2)
-#define USB_CHG_EVENT_INTR TASK_EVENT_CUSTOM(3)
+#define USB_CHG_EVENT_INTR TASK_EVENT_CUSTOM(4)
/**
* Returns true if the passed port is a power source.