Skip to content

Commit

Permalink
Merge pull request #168: Issue_165: 'Play last card' does not work as…
Browse files Browse the repository at this point in the history
… ShortCut
  • Loading branch information
boerge1 authored Jan 30, 2024
2 parents 3f9abb4 + 7e47e56 commit 3fd3c0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,12 @@ Die SD Karte (Ordner mp3 und advert) hat sich gegenüber der Version 3.1.2 geän

# Change Log

## Version 3.1.5 (30.01.2024)
- [Issue 165](https://github.com/tonuino/TonUINO-TNG/issues/165): 'Play last card' does not work as ShortCut

## Version 3.1.5 (21.01.2024)
- [Issue 162](https://github.com/tonuino/TonUINO-TNG/issues/162): Prepare optional feature ROTARY_ENCODER for Nano Every
- [Issue 160](https://github.com/tonuino/TonUINO-TNG/issues/160): Improve the description for platform.io in the Readme

## Version 3.1.5 (21.01.2024)
- [Issue 153](https://github.com/tonuino/TonUINO-TNG/issues/153): Some improvements of the DF Player handling
- [Issue 149](https://github.com/tonuino/TonUINO-TNG/issues/149): Add possibility to reset the current track on hoerbuch mode
- [Issue 148](https://github.com/tonuino/TonUINO-TNG/issues/148): New handling of prev and next button on first and last track
Expand Down
2 changes: 1 addition & 1 deletion TonUINO-TNG.ino
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void setup()
LOG(init_log, s_error, F("TonUINO Version 3.1 - refactored by Boerge1\n"));
LOG(init_log, s_error, F("created by Thorsten Voß and licensed under GNU/GPL."));
LOG(init_log, s_error, F("Information and contribution at https://tonuino.de.\n"));
LOG(init_log, s_error, F("V3.1.5 21.01.24\n"));
LOG(init_log, s_error, F("V3.1.5 30.01.24\n"));

Tonuino::getTonuino().setup();
}
Expand Down
2 changes: 1 addition & 1 deletion src/state_machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ bool Base::readCard() {

bool Base::handleShortcut(uint8_t shortCut) {
folderSettings &sc_folderSettings = settings.getShortCut(shortCut);
if (sc_folderSettings.folder != 0 && sc_folderSettings.folder != 0xff) {
if (sc_folderSettings.folder != 0) {
if (sc_folderSettings.mode != pmode_t::repeat_last)
tonuino.setFolder(&sc_folderSettings);
if (tonuino.getFolder() != 0) {
Expand Down

0 comments on commit 3fd3c0e

Please sign in to comment.