Skip to content

Commit 3be34a3

Browse files
committed
Remove extra boards file and clang format
1 parent a68913f commit 3be34a3

File tree

4 files changed

+5
-250
lines changed

4 files changed

+5
-250
lines changed

src/Wippersnapper_V2.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,12 @@ void Wippersnapper_V2::provision() {
9999
uint8_t cspin = WsV2.pin_sd_cs;
100100
if (cspin == 255) {
101101
// No CS pin found in config.json, so we've used the default
102-
cspin = SD_CS_PIN;
102+
cspin = SD_CS_PIN;
103103
}
104104
haltErrorV2("SD initialization failed.\nDo not reformat the card!\nIs the "
105105
"card correctly inserted?\nIs there a wiring/soldering "
106-
"problem\nIs the config.json file malformed?\nSD CS Pin: " + String(cspin));
106+
"problem\nIs the config.json file malformed?\nSD CS Pin: " +
107+
String(cspin));
107108
}
108109

109110
#ifdef USE_DISPLAY

src/components/i2c/drivers/drvSgp30.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ class drvSgp30 : public drvBase {
9999

100100
void ConfigureDefaultSensorTypes() override {
101101
_default_sensor_types_count = 2;
102-
_default_sensor_types[0] =
103-
wippersnapper_sensor_SensorType_SENSOR_TYPE_ECO2;
102+
_default_sensor_types[0] = wippersnapper_sensor_SensorType_SENSOR_TYPE_ECO2;
104103
_default_sensor_types[1] =
105104
wippersnapper_sensor_SensorType_SENSOR_TYPE_VOC_INDEX;
106105
}

src/ws_adapters.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ typedef ws_wifi_ninafw ws_adapter_wifi;
5656
defined(ARDUINO_RASPBERRY_PI_PICO) || \
5757
defined(ARDUINO_ADAFRUIT_FEATHER_RP2040_ADALOGGER) || \
5858
defined(ARDUINO_ADAFRUIT_METRO_RP2350)
59-
#define SD_CS_PIN 23 // TODO: fix this as is ignored by picow and results in 33
60-
// see https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/issues/747
59+
#define SD_CS_PIN 23
6160
#include "adapters/offline/ws_offline_pico.h"
6261
typedef ws_offline_pico ws_adapter_offline;
6362
#else

src/ws_boards.h

Lines changed: 0 additions & 244 deletions
This file was deleted.

0 commit comments

Comments
 (0)