mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-25 06:18:11 +00:00
btn: Fix bootwait=0 for real
This commit is contained in:
parent
a664118fc7
commit
8ff01301cb
@ -81,7 +81,7 @@ u8 btn_wait_timeout(u32 time_ms, u8 mask)
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Timed out.
|
// Timed out.
|
||||||
if (!single_button)
|
if (!single_button || !time_ms)
|
||||||
return (res & mask);
|
return (res & mask);
|
||||||
else
|
else
|
||||||
return 0; // Return no button press if single button requested.
|
return 0; // Return no button press if single button requested.
|
||||||
|
Loading…
Reference in New Issue
Block a user