imx233/bootloader: fix red
Change-Id: I209cdee6007d3b3c039f6b0b63a30fabc8aefb41
This commit is contained in:
parent
6dcd465b18
commit
7a828ac5e2
1 changed files with 5 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue