Skip to content

Commit 53c95ac

Browse files
committed
Look at C6 bug
1 parent e92e740 commit 53c95ac

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ lib_deps =
9494

9595
; Common build environment for ESP32 platform
9696
[common:esp32]
97-
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
97+
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip
9898
; This is needed for occasional new features and bug fixes
9999
; platform = https://github.com/pioarduino/platform-espressif32#develop
100100
lib_ignore = WiFiNINA, WiFi101, OneWire
@@ -166,7 +166,7 @@ board = adafruit_feather_esp32c6
166166
build_flags =
167167
-DARDUINO_ADAFRUIT_FEATHER_ESP32C6
168168
-DARDUINO_USB_CDC_ON_BOOT=1
169-
-DCORE_DEBUG_LEVEL=3
169+
-DCORE_DEBUG_LEVEL=5
170170
board_build.filesystem = littlefs
171171
board_build.partitions = min_spiffs.csv
172172

src/Wippersnapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
#endif
143143

144144
#define WS_VERSION \
145-
"1.0.0-beta.97" ///< WipperSnapper app. version (semver-formatted)
145+
"1.0.0-beta.98" ///< WipperSnapper app. version (semver-formatted)
146146

147147
// Reserved Adafruit IO MQTT topics
148148
#define TOPIC_IO_THROTTLE "/throttle" ///< Adafruit IO Throttle MQTT Topic

src/Wippersnapper_demo.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void setup() {
2424
wipper.provision();
2525

2626
Serial.begin(115200);
27-
// while (!Serial) delay(10);
27+
while (!Serial) delay(10);
2828

2929
wipper.connect();
3030

src/components/pixels/ws_pixels.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ bool ws_pixels::addStrand(
243243
releaseStatusLED(); // release it!
244244

245245
// Create a new strand of NeoPixels
246+
WS_DEBUG_PRINTLN("Setting up new NeoPixel Strand...");
246247
strands[strandIdx].neoPixelPtr = new Adafruit_NeoPixel(
247248
pixelsCreateReqMsg->pixels_num, strands[strandIdx].pinNeoPixel,
248249
getNeoPixelStrandOrder(pixelsCreateReqMsg->pixels_ordering));

src/components/statusLED/Wippersnapper_StatusLED.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,16 @@ void initStatusLED() {
9999
*/
100100
/****************************************************************************/
101101
void releaseStatusLED() {
102+
WS_DEBUG_PRINTLN("Releasing status LED");
102103
#ifdef USE_STATUS_NEOPIXEL
104+
WS_DEBUG_PRINTLN("Deinit the RMT...");
105+
//Deinit the RMT
106+
statusPixel->updateLength(0);
107+
statusPixel->show();
108+
WS_DEBUG_PRINTLN("Deleting the statusPixel");
103109
delete statusPixel; // Deallocate Adafruit_NeoPixel object, set data pin back
104110
// to INPUT.
111+
statusPixel = nullptr;
105112
WS.lockStatusNeoPixel = false; // unlock
106113
#endif
107114

src/components/statusLED/Wippersnapper_StatusLED.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#define WIPPERSNAPPER_STATUSLED_H
1818
#include <Adafruit_DotStar.h>
1919
#include <Adafruit_NeoPixel.h>
20+
#include "esp32-hal-rmt.h"
2021

2122
// Use LEDC for ESP32 arch so we can PWM
2223
#ifdef ARDUINO_ARCH_ESP32

0 commit comments

Comments
 (0)