Skip to content

Commit

Permalink
🔇 fix: Fixing inability to stop music after it starts playing - fixed #9
Browse files Browse the repository at this point in the history


Now just press ENTER to stop the music and continue to the music menu, or ESC to stop the music and return to the main menu.
  • Loading branch information
henriquesebastiao committed Jun 29, 2024
1 parent 15648e9 commit 0318001
Show file tree
Hide file tree
Showing 4 changed files with 335 additions and 1,227 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![CI](https://github.com/henriquesebastiao/saturn/actions/workflows/ci.yml/badge.svg)](https://github.com/henriquesebastiao/saturn/actions/workflows/ci.yml)
[![Build](https://github.com/henriquesebastiao/saturn/actions/workflows/build.yml/badge.svg)](https://github.com/henriquesebastiao/saturn/actions/workflows/build.yml)
[![Version](https://img.shields.io/badge/version-1.2.0-blue)](https://github.com/henriquesebastiao/saturn/tags)
[![Version](https://img.shields.io/badge/version-1.2.1-blue)](https://github.com/henriquesebastiao/saturn/tags)
[![License](https://img.shields.io/github/license/henriquesebastiao/saturn)](https://github.com/henriquesebastiao/saturn/blob/main/LICENSE)

<p>
Expand Down
1 change: 1 addition & 0 deletions saturn.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1497,6 +1497,7 @@ void soundMenuLoop() {
}
if (checkSelectPress()) {
int option = soundMenu[cursor].command;
delay(500); // Prevents audio from going on and off immediately because you haven't released the button yet
rstOverride = false;
isSwitching = true;
switch(option) {
Expand Down
2 changes: 1 addition & 1 deletion src/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define SDCARD

// Info
#define SATURN_VERSION "v1.2.0"
#define SATURN_VERSION "v1.2.1"

// Style
#define MAIN_COLOR CYAN
Expand Down
Loading

0 comments on commit 0318001

Please sign in to comment.