Skip to content

Commit 0b072e2

Browse files
committed
clang
1 parent 765cb4a commit 0b072e2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/Wippersnapper_V2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,9 +1241,9 @@ void Wippersnapper_V2::connect() {
12411241
#endif
12421242
// Call the TL signal decoder to parse the incoming JSON data
12431243
callDecodeB2D();
1244-
#ifndef OFFLINE_MODE_WOKWI
1244+
#ifndef OFFLINE_MODE_WOKWI
12451245
WsV2._fileSystemV2->WriteFileConfig();
1246-
#endif // OFFLINE_MODE_WOKWI used for CI test simulations, lacks TinyUSB
1246+
#endif // OFFLINE_MODE_WOKWI used for CI test simulations, lacks TinyUSB
12471247
WS_DEBUG_PRINTLN("[APP] Hardware configured!");
12481248
// Blink status LED to green to indicate successful configuration
12491249
setStatusLEDColor(0x00A300, WsV2.status_pixel_brightnessV2);

src/components/i2c/controller.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,11 +767,11 @@ bool I2cController::Handle_I2cDeviceAddOrReplace(pb_istream_t *stream) {
767767
// Use the "default" types from the sensor driver
768768
drv->SetSensorTypes(true);
769769
drv->SetPeriod(DEFAULT_SENSOR_PERIOD);
770-
#ifndef OFFLINE_MODE_WOKWI
770+
#ifndef OFFLINE_MODE_WOKWI
771771
WsV2._fileSystemV2->AddI2cDeviceToFileConfig(
772772
device_descriptor.i2c_device_address, driverName,
773773
drv->GetSensorTypeStrings(), drv->GetNumSensorTypes());
774-
#endif
774+
#endif
775775
did_find_driver = true;
776776
break;
777777
}

src/provisioning/sdcard/ws_sdcard.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ ws_sdcard::ws_sdcard() {
6363
// ws_adapters.h)
6464
if (!did_init) {
6565
if (InitSdCard(SD_CS_PIN)) {
66-
// Attempt to update the config file with the default pin
67-
#ifndef OFFLINE_MODE_WOKWI
66+
// Attempt to update the config file with the default pin
67+
#ifndef OFFLINE_MODE_WOKWI
6868
did_init = WsV2._fileSystemV2->AddSDCSPinToFileConfig(SD_CS_PIN);
69-
#else // WOKWI Test Mode
69+
#else // WOKWI Test Mode
7070
WsV2.pin_sd_cs = 15;
7171
did_init = true;
72-
#endif
72+
#endif
7373
}
7474
}
7575

0 commit comments

Comments
 (0)