mirror of
https://github.com/xfjx/TonUINO.git
synced 2025-08-29 04:50:15 +02:00
Shortcut Bugfix
This commit is contained in:
@@ -328,7 +328,7 @@ void checkStandbyAtMillis() {
|
|||||||
// enter sleep state
|
// enter sleep state
|
||||||
digitalWrite(shutdownPin, HIGH);
|
digitalWrite(shutdownPin, HIGH);
|
||||||
delay(500);
|
delay(500);
|
||||||
|
|
||||||
// http://discourse.voss.earth/t/intenso-s10000-powerbank-automatische-abschaltung-software-only/805
|
// http://discourse.voss.earth/t/intenso-s10000-powerbank-automatische-abschaltung-software-only/805
|
||||||
// powerdown to 27mA (powerbank switches off after 30-60s)
|
// powerdown to 27mA (powerbank switches off after 30-60s)
|
||||||
mfrc522.PCD_AntennaOff();
|
mfrc522.PCD_AntennaOff();
|
||||||
@@ -603,11 +603,11 @@ void loop() {
|
|||||||
else {
|
else {
|
||||||
nextButton();
|
nextButton();
|
||||||
}
|
}
|
||||||
ignoreUpButton = true;
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
playShortCut(1);
|
playShortCut(1);
|
||||||
}
|
}
|
||||||
|
ignoreUpButton = true;
|
||||||
} else if (upButton.wasReleased()) {
|
} else if (upButton.wasReleased()) {
|
||||||
if (!ignoreUpButton)
|
if (!ignoreUpButton)
|
||||||
if (!mySettings.invertVolumeButtons) {
|
if (!mySettings.invertVolumeButtons) {
|
||||||
@@ -627,11 +627,11 @@ void loop() {
|
|||||||
else {
|
else {
|
||||||
previousButton();
|
previousButton();
|
||||||
}
|
}
|
||||||
ignoreDownButton = true;
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
playShortCut(2);
|
playShortCut(2);
|
||||||
}
|
}
|
||||||
|
ignoreDownButton = true;
|
||||||
} else if (downButton.wasReleased()) {
|
} else if (downButton.wasReleased()) {
|
||||||
if (!ignoreDownButton) {
|
if (!ignoreDownButton) {
|
||||||
if (!mySettings.invertVolumeButtons) {
|
if (!mySettings.invertVolumeButtons) {
|
||||||
@@ -859,7 +859,7 @@ uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
mp3.playFolderTrack(previewFromFolder, returnValue);
|
mp3.playFolderTrack(previewFromFolder, returnValue);
|
||||||
}
|
}
|
||||||
delay(1000);
|
delay(1000);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user