mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-23 08:32:04 +00:00
btn: Fix bootwait=0 for real
This commit is contained in:
parent
a664118fc7
commit
8ff01301cb
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ u8 btn_wait_timeout(u32 time_ms, u8 mask)
|
|||
};
|
||||
|
||||
// Timed out.
|
||||
if (!single_button)
|
||||
if (!single_button || !time_ms)
|
||||
return (res & mask);
|
||||
else
|
||||
return 0; // Return no button press if single button requested.
|
||||
|
|
Loading…
Reference in a new issue