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() {
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.\n Do not reformat the card!\n Is the "
105105 " 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));
107108 }
108109
109110#ifdef USE_DISPLAY
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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"
6261typedef ws_offline_pico ws_adapter_offline ;
6362#else
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments