diff options
-rw-r--r-- | bootloader/imx233.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bootloader/imx233.c b/bootloader/imx233.c index 8ac74f10bc..2238728817 100644 --- a/bootloader/imx233.c +++ b/bootloader/imx233.c @@ -157,7 +157,12 @@ void main(uint32_t arg, uint32_t addr) button_init(); /* dummy read, might be necessary to init things */ +#ifdef HAVE_BUTTON_DATA + int data; + button_read_device(&data); +#else button_read_device(); +#endif #ifdef HAS_BUTTON_HOLD if(button_hold()) |