small bugfix..
This commit is contained in:
parent
b5e617c33d
commit
4d0493f4aa
2 changed files with 7 additions and 4 deletions
|
|
@ -25,3 +25,4 @@ lib_deps =
|
|||
adafruit/Adafruit SSD1306@^2.4.5
|
||||
adafruit/Adafruit BusIO@^1.7.3
|
||||
arkhipenko/TaskScheduler@^3.3.0
|
||||
adafruit/Adafruit GFX Library@^1.11.9
|
||||
|
|
|
|||
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue