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() {
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 );
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments