This commit is contained in:
2024-10-03 19:35:58 +02:00
parent c07fd62037
commit ee721ff573
3 changed files with 8 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ namespace globalInputs
{
servicePressedCounter[0]++;
if (servicePressedCounter[0] == 3000)
if (servicePressedCounter[0] >= 3000)
{
OnScreenHelp::get()->toggleState();
servicePressedCounter[0] = 0;
@@ -121,7 +121,7 @@ namespace globalInputs
{
servicePressedCounter[i + 1]++;
if (servicePressedCounter[i + 1] == 3000)
if (servicePressedCounter[i + 1] >= 3000)
{
OnScreenHelp::get()->toggleState();
servicePressedCounter[i + 1] = 0;