mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-02 11:30:41 +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.
|
||||
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 New Issue
Block a user