Skip to content

Commit ab7cc41

Browse files
committed
Compile OK
1 parent f256fcd commit ab7cc41

File tree

10 files changed

+242
-890
lines changed

10 files changed

+242
-890
lines changed

src/Wippersnapper_V2.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ void Wippersnapper_V2::provision() {
8686

8787
// Determine if app is in SDLogger mode
8888
#ifdef USE_TINYUSB
89-
WsV2._fileSystemV2->GetPinSDCS();
89+
WsV2._fileSystemV2->GetSDCSPin();
9090
#elif defined(USE_LITTLEFS)
91-
WsV2._littleFSV2->GetPinSDCS();
91+
WsV2._littleFSV2->GetSDCSPin();
9292
#elif defined(OFFLINE_MODE_WOKWI)
9393
WsV2.pin_sd_cs = 15;
9494
#endif
@@ -97,10 +97,10 @@ void Wippersnapper_V2::provision() {
9797
if (WsV2._sdCardV2->isSDCardInitialized()) {
9898
return; // SD card initialized, cede control back to loop()
9999
} else {
100-
haltErrorV2("SD initialization failed.\nDo not reformat the card!\nIs the "
100+
haltErrorV2(("SD initialization failed.\nDo not reformat the card!\nIs the "
101101
"card correctly inserted?\nIs there a wiring/soldering "
102102
"problem\nIs the config.json file malformed?\nSD CS Pin: " +
103-
String(WsV2.pin_sd_cs));
103+
String(WsV2.pin_sd_cs)).c_str());
104104
}
105105

106106
#ifdef USE_DISPLAY
@@ -125,9 +125,9 @@ void Wippersnapper_V2::provision() {
125125
#endif
126126

127127
#ifdef USE_TINYUSB
128-
WsV2._fileSystemV2->ParseFileSecrets();
128+
WsV2._fileSystemV2->parseSecrets();
129129
#elif defined(USE_LITTLEFS)
130-
WsV2._littleFSV2->ParseFileSecrets();
130+
WsV2._littleFSV2->parseSecrets();
131131
#else
132132
check_valid_ssid(); // non-fs-backed, sets global credentials within network
133133
// iface

0 commit comments

Comments
 (0)