Skip to content

Commit 4b911bf

Browse files
committed
Clang format and remove ESP32-H2 ifdef
1 parent d0b9a59 commit 4b911bf

File tree

3 files changed

+6
-41
lines changed

3 files changed

+6
-41
lines changed

src/Wippersnapper.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -2707,7 +2707,7 @@ void print_reset_reason(int reason) {
27072707
}
27082708
}
27092709

2710-
#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
2710+
#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
27112711
#include "esp32/rom/rtc.h"
27122712
#elif CONFIG_IDF_TARGET_ESP32S2
27132713
#include "esp32s2/rom/rtc.h"
@@ -2719,8 +2719,6 @@ void print_reset_reason(int reason) {
27192719
#include "esp32s3/rom/rtc.h"
27202720
#elif CONFIG_IDF_TARGET_ESP32C6
27212721
#include "esp32c6/rom/rtc.h"
2722-
#elif CONFIG_IDF_TARGET_ESP32H2
2723-
#include "esp32h2/rom/rtc.h"
27242722
#else
27252723
#error Target CONFIG_IDF_TARGET is not supported
27262724
#endif

src/Wippersnapper.h

+5-4
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,11 @@ class Wippersnapper {
254254

255255
void provision();
256256

257-
bool brownOutCausedReset = false; ///< True if low power reset - flash write issues
258-
bool lockStatusNeoPixel; ///< True if status LED is using the status neopixel
259-
bool lockStatusDotStar; ///< True if status LED is using the status dotstar
260-
bool lockStatusLED; ///< True if status LED is using the built-in LED
257+
bool brownOutCausedReset =
258+
false; ///< True if low power reset - flash write issues
259+
bool lockStatusNeoPixel; ///< True if status LED is using the status neopixel
260+
bool lockStatusDotStar; ///< True if status LED is using the status dotstar
261+
bool lockStatusLED; ///< True if status LED is using the built-in LED
261262
float status_pixel_brightness =
262263
STATUS_PIXEL_BRIGHTNESS_DEFAULT; ///< Global status pixel's brightness
263264
///< (from 0.0 to 1.0)

testplan.md

-34
This file was deleted.

0 commit comments

Comments
 (0)