diff --git a/platformio.ini b/platformio.ini index dbd8cd1..0f117ae 100644 --- a/platformio.ini +++ b/platformio.ini @@ -38,8 +38,8 @@ monitor_speed = 115200 board_build.partitions = no_ota.csv lib_deps = ${env:common.lib_deps} extra_scripts = ${env:common.extra_scripts} -upload_port = /dev/cu.SLAB_USBtoUART -monitor_port = /dev/cu.SLAB_USBtoUART +upload_port = COM6 +monitor_port = COM6 [env:nodemcu-32s] platform = espressif32 @@ -75,7 +75,7 @@ lib_deps = https://github.com/madhephaestus/ESP32Encoder.git https://github.com/knolleary/pubsubclient.git https://github.com/biologist79/ESP32FTPServer.git - https://github.com/FastLED/FastLED.git + https://github.com/FastLED/FastLED.git#3.3.3 https://github.com/biologist79/rfid.git https://github.com/tueddy/PN5180-Library.git ESP Async WebServer diff --git a/src/main.cpp b/src/main.cpp index d0cef08..3911f2e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1557,7 +1557,10 @@ void playAudio(void *parameter) { #endif audioReturnCode = audio.connecttoFS(FSystem, *(playProperties.playlist + playProperties.currentTrackNumber)); // consider track as finished, when audio lib call was not successful - if(!audioReturnCode) { + if (!audioReturnCode) { + #ifdef NEOPIXEL_ENABLE + showLedError = true; + #endif playProperties.trackFinished = true; continue; } @@ -1696,6 +1699,9 @@ void playAudio(void *parameter) { audioReturnCode = audio.connecttoFS(FSystem, *(playProperties.playlist + playProperties.currentTrackNumber)); // consider track as finished, when audio lib call was not successful if(!audioReturnCode) { + #ifdef NEOPIXEL_ENABLE + showLedError = true; + #endif playProperties.trackFinished = true; continue; }