|
26 | 26 | defined(ARDUINO_RASPBERRY_PI_PICO_W) || \
|
27 | 27 | defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S3_REVTFT) || \
|
28 | 28 | defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2_REVTFT) || \
|
29 |
| - defined(ARDUINO_ADAFRUIT_QTPY_ESP32S3_N4R2) || \ |
30 |
| - defined(ARDUINO_RASPBERRY_PI_PICO) || \ |
31 |
| - defined(ARDUINO_RASPBERRY_PI_PICO_2) |
| 29 | + defined(ARDUINO_ADAFRUIT_QTPY_ESP32S3_N4R2) || \ |
| 30 | + defined(ARDUINO_RASPBERRY_PI_PICO) || \ |
| 31 | + defined(ARDUINO_RASPBERRY_PI_PICO_2) || \ |
| 32 | + defined(ARDUINO_ADAFRUIT_FEATHER_RP2040_ADALOGGER) |
32 | 33 | #include "Wippersnapper_FS.h"
|
33 | 34 | // On-board external flash (QSPI or SPI) macros should already
|
34 | 35 | // defined in your board variant if supported
|
@@ -174,7 +175,7 @@ Wippersnapper_FS::~Wippersnapper_FS() {
|
174 | 175 | config.json file.
|
175 | 176 | */
|
176 | 177 | /**************************************************************************/
|
177 |
| -void Wippersnapper_FS::GetSDCSPin() { |
| 178 | +void Wippersnapper_FS::GetSDCSPin() { |
178 | 179 | File32 file_cfg;
|
179 | 180 | DeserializationError error;
|
180 | 181 | // Attempt to open and deserialize the config.json file
|
@@ -554,16 +555,16 @@ void Wippersnapper_FS::fsHalt(String msg) {
|
554 | 555 | */
|
555 | 556 | /**************************************************************************/
|
556 | 557 | void Wippersnapper_FS::fsHalt(String msg, ws_led_status_t ledStatusColor) {
|
557 |
| - TinyUSBDevice.attach(); |
558 |
| - delay(500); |
559 |
| - statusLEDSolid(ledStatusColor); |
560 |
| - while (1) { |
561 |
| - WS_DEBUG_PRINT("Execution Halted: "); |
562 |
| - WS_DEBUG_PRINTLN(msg.c_str()); |
563 |
| - delay(5000); |
564 |
| - yield(); |
565 |
| - } |
| 558 | + TinyUSBDevice.attach(); |
| 559 | + delay(500); |
| 560 | + statusLEDSolid(ledStatusColor); |
| 561 | + while (1) { |
| 562 | + WS_DEBUG_PRINT("Execution Halted: "); |
| 563 | + WS_DEBUG_PRINTLN(msg.c_str()); |
| 564 | + delay(5000); |
| 565 | + yield(); |
566 | 566 | }
|
| 567 | +} |
567 | 568 |
|
568 | 569 | #ifdef ARDUINO_FUNHOUSE_ESP32S2
|
569 | 570 | /**************************************************************************/
|
|
0 commit comments