File tree Expand file tree Collapse file tree 4 files changed +5
-250
lines changed Expand file tree Collapse file tree 4 files changed +5
-250
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,12 @@ void Wippersnapper_V2::provision() {
99
99
uint8_t cspin = WsV2.pin_sd_cs ;
100
100
if (cspin == 255 ) {
101
101
// No CS pin found in config.json, so we've used the default
102
- cspin = SD_CS_PIN;
102
+ cspin = SD_CS_PIN;
103
103
}
104
104
haltErrorV2 (" SD initialization failed.\n Do not reformat the card!\n Is the "
105
105
" card correctly inserted?\n Is there a wiring/soldering "
106
- " problem\n Is the config.json file malformed?\n SD CS Pin: " + String (cspin));
106
+ " problem\n Is the config.json file malformed?\n SD CS Pin: " +
107
+ String (cspin));
107
108
}
108
109
109
110
#ifdef USE_DISPLAY
Original file line number Diff line number Diff line change @@ -99,8 +99,7 @@ class drvSgp30 : public drvBase {
99
99
100
100
void ConfigureDefaultSensorTypes () override {
101
101
_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;
104
103
_default_sensor_types[1 ] =
105
104
wippersnapper_sensor_SensorType_SENSOR_TYPE_VOC_INDEX;
106
105
}
Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ typedef ws_wifi_ninafw ws_adapter_wifi;
56
56
defined(ARDUINO_RASPBERRY_PI_PICO ) || \
57
57
defined(ARDUINO_ADAFRUIT_FEATHER_RP2040_ADALOGGER ) || \
58
58
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
61
60
#include "adapters/offline/ws_offline_pico.h"
62
61
typedef ws_offline_pico ws_adapter_offline ;
63
62
#else
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments