summaryrefslogtreecommitdiff
path: root/board/oak/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/oak/board.c')
-rw-r--r--board/oak/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/oak/board.c b/board/oak/board.c
index 446edb56c5..c1e386a480 100644
--- a/board/oak/board.c
+++ b/board/oak/board.c
@@ -77,8 +77,8 @@ void usb_evt(enum gpio_signal signal)
/* power signal list. Must match order of enum power_signal. */
const struct power_signal_info power_signal_list[] = {
- {GPIO_SOC_POWER_GOOD, 1, "POWER_GOOD"}, /* Active high */
- {GPIO_SUSPEND_L, 0, "SUSPEND#_ASSERTED"}, /* Active low */
+ {GPIO_SOC_POWER_GOOD, POWER_SIGNAL_ACTIVE_HIGH, "POWER_GOOD"},
+ {GPIO_SUSPEND_L, POWER_SIGNAL_ACTIVE_LOW, "SUSPEND#_ASSERTED"},
};
BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);