summaryrefslogtreecommitdiff
path: root/board/redrix/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/redrix/board.c')
-rw-r--r--board/redrix/board.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/redrix/board.c b/board/redrix/board.c
index 5b0b1b40a7..84d4520e70 100644
--- a/board/redrix/board.c
+++ b/board/redrix/board.c
@@ -59,7 +59,11 @@ struct pchg pchgs[] = {
.events = QUEUE_NULL(PCHG_EVENT_QUEUE_SIZE, enum pchg_event),
},
};
-const int pchg_count = ARRAY_SIZE(pchgs);
+
+int board_get_pchg_count(void)
+{
+ return ARRAY_SIZE(pchgs);
+}
#endif
/******************************************************************************/