commit | 7a828ac5e2f07679816e8513f5c64d61fd21349e | [log] [tgz] |
---|---|---|
author | Amaury Pouly <amaury.pouly@gmail.com> | Thu Sep 26 18:02:09 2013 +0200 |
committer | Amaury Pouly <amaury.pouly@gmail.com> | Thu Sep 26 18:02:09 2013 +0200 |
tree | 1a249f0ced4475e168f12fe3ea8aa8c7e49f9156 | |
parent | 6dcd465b1802ccfac39d1657febd0ce515d71460 [diff] |
imx233/bootloader: fix red Change-Id: I209cdee6007d3b3c039f6b0b63a30fabc8aefb41
diff --git a/bootloader/imx233.c b/bootloader/imx233.c index 8ac74f1..2238728 100644 --- a/bootloader/imx233.c +++ b/bootloader/imx233.c
@@ -157,7 +157,12 @@ 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())