File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1241,9 +1241,9 @@ void Wippersnapper_V2::connect() {
1241
1241
#endif
1242
1242
// Call the TL signal decoder to parse the incoming JSON data
1243
1243
callDecodeB2D ();
1244
- #ifndef OFFLINE_MODE_WOKWI
1244
+ #ifndef OFFLINE_MODE_WOKWI
1245
1245
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
1247
1247
WS_DEBUG_PRINTLN (" [APP] Hardware configured!" );
1248
1248
// Blink status LED to green to indicate successful configuration
1249
1249
setStatusLEDColor (0x00A300 , WsV2.status_pixel_brightnessV2 );
Original file line number Diff line number Diff line change @@ -767,11 +767,11 @@ bool I2cController::Handle_I2cDeviceAddOrReplace(pb_istream_t *stream) {
767
767
// Use the "default" types from the sensor driver
768
768
drv->SetSensorTypes (true );
769
769
drv->SetPeriod (DEFAULT_SENSOR_PERIOD);
770
- #ifndef OFFLINE_MODE_WOKWI
770
+ #ifndef OFFLINE_MODE_WOKWI
771
771
WsV2._fileSystemV2 ->AddI2cDeviceToFileConfig (
772
772
device_descriptor.i2c_device_address , driverName,
773
773
drv->GetSensorTypeStrings (), drv->GetNumSensorTypes ());
774
- #endif
774
+ #endif
775
775
did_find_driver = true ;
776
776
break ;
777
777
}
Original file line number Diff line number Diff line change @@ -63,13 +63,13 @@ ws_sdcard::ws_sdcard() {
63
63
// ws_adapters.h)
64
64
if (!did_init) {
65
65
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
68
68
did_init = WsV2._fileSystemV2 ->AddSDCSPinToFileConfig (SD_CS_PIN);
69
- #else // WOKWI Test Mode
69
+ #else // WOKWI Test Mode
70
70
WsV2.pin_sd_cs = 15 ;
71
71
did_init = true ;
72
- #endif
72
+ #endif
73
73
}
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments