summaryrefslogtreecommitdiff
path: root/board/bds
diff options
context:
space:
mode:
Diffstat (limited to 'board/bds')
-rw-r--r--board/bds/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/bds/board.c b/board/bds/board.c
index 7be3ecbc17..28e23e67bb 100644
--- a/board/bds/board.c
+++ b/board/bds/board.c
@@ -13,6 +13,10 @@
#include "lm4_adc.h"
#include "adc.h"
+#ifndef CONFIG_TASK_POWERBTN
+#define power_button_interrupt NULL
+#endif
+
/* ADC channels. Must be in the exactly same order as in enum adc_channel. */
const struct adc_t adc_channels[ADC_CH_COUNT] =
{