mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
libstrat: namespace hossynch.hpp
This commit is contained in:
parent
73d904036d
commit
bb223eb5ae
57 changed files with 923 additions and 773 deletions
|
@ -45,7 +45,7 @@ namespace sts::fatal::srv {
|
|||
gpioPadSetDirection(&vol_btn, GpioDirection_Input);
|
||||
|
||||
/* Ensure that we're holding the volume button for a full second. */
|
||||
TimeoutHelper timeout_helper(1'000'000'000ul);
|
||||
os::TimeoutHelper timeout_helper(1'000'000'000ul);
|
||||
while (!timeout_helper.TimedOut()) {
|
||||
GpioValue val;
|
||||
if (R_FAILED(gpioPadGetValue(&vol_btn, &val)) || val != GpioValue_Low) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue