small bugfix..

This commit is contained in:
Dooho Yi 2023-11-10 01:00:39 +09:00
parent b5e617c33d
commit 4d0493f4aa
2 changed files with 7 additions and 4 deletions

View file

@ -22,6 +22,7 @@ upload_speed = 921600
; -mfix-esp32-psram-cache-issue
lib_deps =
adafruit/Adafruit SSD1306@^2.4.5
adafruit/Adafruit BusIO@^1.7.3
arkhipenko/TaskScheduler@^3.3.0
adafruit/Adafruit SSD1306@^2.4.5
adafruit/Adafruit BusIO@^1.7.3
arkhipenko/TaskScheduler@^3.3.0
adafruit/Adafruit GFX Library@^1.11.9

View file

@ -5,7 +5,7 @@
// 'ENABLE_SCREEN' : whether if playing info. displayed or not.
//
//============</configurations>============
// #define ENABLE_SCREEN
#define ENABLE_SCREEN
//============<audioooo-param>============
#define GAIN_MAX 1.0 // if 1.0 is too loud, give max. limit here.
@ -128,6 +128,8 @@ int get_music_list(fs::FS &fs, const char *dirname, uint8_t levels, String wavli
if (file.isDirectory()) { }
else {
String temp = file.name();
// Serial.println("looking at file: " + temp);
temp.toLowerCase();
if (temp.endsWith(".wav")) {
wavlist[i] = temp;
i++;