Skip to content

Commit

Permalink
Merge branch 'master' into handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Dec 29, 2023
2 parents 1655c91 + e94e6e4 commit ee4462a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VortexEngine/VortexLib/VortexLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ void Vortex::handleInputQueue(Button *buttons, uint32_t numButtons)
// us immediately enter the menus. But we need to unset the pressed
// button right after so we push a reset click event to reset the button
pButton->m_pressTime = Time::getCurtime();
#if defined(SLEEP_ENTER_THRESHOLD_TICKS) && defined(SLEEP_ENTER_THRESHOLD_TICKS) && defined(SLEEP_WINDOW_THRESHOLD_TICKS)
#if defined(SLEEP_ENTER_THRESHOLD_TICKS) && defined(SLEEP_WINDOW_THRESHOLD_TICKS)
// microlight must hold longer (past sleep time)
pButton->m_holdDuration = MENU_TRIGGER_THRESHOLD_TICKS + SLEEP_ENTER_THRESHOLD_TICKS + SLEEP_WINDOW_THRESHOLD_TICKS + 1;
#else
Expand Down

0 comments on commit ee4462a

Please sign in to comment.