Skip to content

Commit

Permalink
Clang format and remove ESP32-H2 ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Oct 25, 2024
1 parent d0b9a59 commit 4b911bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 41 deletions.
4 changes: 1 addition & 3 deletions src/Wippersnapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2707,7 +2707,7 @@ void print_reset_reason(int reason) {
}
}

#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
#include "esp32/rom/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32S2
#include "esp32s2/rom/rtc.h"
Expand All @@ -2719,8 +2719,6 @@ void print_reset_reason(int reason) {
#include "esp32s3/rom/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rom/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32H2
#include "esp32h2/rom/rtc.h"
#else
#error Target CONFIG_IDF_TARGET is not supported
#endif
Expand Down
9 changes: 5 additions & 4 deletions src/Wippersnapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,11 @@ class Wippersnapper {

void provision();

bool brownOutCausedReset = false; ///< True if low power reset - flash write issues
bool lockStatusNeoPixel; ///< True if status LED is using the status neopixel
bool lockStatusDotStar; ///< True if status LED is using the status dotstar
bool lockStatusLED; ///< True if status LED is using the built-in LED
bool brownOutCausedReset =
false; ///< True if low power reset - flash write issues
bool lockStatusNeoPixel; ///< True if status LED is using the status neopixel
bool lockStatusDotStar; ///< True if status LED is using the status dotstar
bool lockStatusLED; ///< True if status LED is using the built-in LED
float status_pixel_brightness =
STATUS_PIXEL_BRIGHTNESS_DEFAULT; ///< Global status pixel's brightness
///< (from 0.0 to 1.0)
Expand Down
34 changes: 0 additions & 34 deletions testplan.md

This file was deleted.

0 comments on commit 4b911bf

Please sign in to comment.