small bugfix..
This commit is contained in:
parent
b5e617c33d
commit
4d0493f4aa
2 changed files with 7 additions and 4 deletions
|
|
@ -22,6 +22,7 @@ upload_speed = 921600
|
||||||
; -mfix-esp32-psram-cache-issue
|
; -mfix-esp32-psram-cache-issue
|
||||||
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
adafruit/Adafruit SSD1306@^2.4.5
|
adafruit/Adafruit SSD1306@^2.4.5
|
||||||
adafruit/Adafruit BusIO@^1.7.3
|
adafruit/Adafruit BusIO@^1.7.3
|
||||||
arkhipenko/TaskScheduler@^3.3.0
|
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.
|
// 'ENABLE_SCREEN' : whether if playing info. displayed or not.
|
||||||
//
|
//
|
||||||
//============</configurations>============
|
//============</configurations>============
|
||||||
// #define ENABLE_SCREEN
|
#define ENABLE_SCREEN
|
||||||
|
|
||||||
//============<audioooo-param>============
|
//============<audioooo-param>============
|
||||||
#define GAIN_MAX 1.0 // if 1.0 is too loud, give max. limit here.
|
#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()) { }
|
if (file.isDirectory()) { }
|
||||||
else {
|
else {
|
||||||
String temp = file.name();
|
String temp = file.name();
|
||||||
|
// Serial.println("looking at file: " + temp);
|
||||||
|
temp.toLowerCase();
|
||||||
if (temp.endsWith(".wav")) {
|
if (temp.endsWith(".wav")) {
|
||||||
wavlist[i] = temp;
|
wavlist[i] = temp;
|
||||||
i++;
|
i++;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue