Skip to content

Commit 7494b5a

Browse files
committed
Remove prints/delays for debugging
1 parent 59bb1e5 commit 7494b5a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/components/i2c/hardware.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ void I2cHardware::InitBus(bool is_default, const char *sda, const char *scl) {
7171
// to the i2c bus. If the pin is defined, turn the power to the i2c bus on.
7272
#if defined(PIN_I2C_POWER) || defined(TFT_I2C_POWER) || \
7373
defined(NEOPIXEL_I2C_POWER)
74-
WS_DEBUG_PRINTLN("[i2c] Powering on I2C bus...");
7574
TogglePowerPin();
7675
#endif
7776

src/provisioning/sdcard/ws_sdcard.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -699,8 +699,6 @@ bool ws_sdcard::ParseExportedFromDevice(JsonDocument &doc) {
699699

700700
// Configures RTC
701701
const char *rtc_type = exportedFromDevice["rtc"] | "SOFT";
702-
// wait 9 seconds
703-
delay(9000);
704702
if (!ConfigureRTC(rtc_type)) {
705703
WS_DEBUG_PRINTLN("[SD] Error: Failed to to configure a RTC!");
706704
return false;
@@ -720,9 +718,6 @@ bool ws_sdcard::ParseExportedFromDevice(JsonDocument &doc) {
720718
bool ws_sdcard::ParseFileConfig() {
721719
DeserializationError error;
722720

723-
// delay 6 seconds
724-
delay(6000);
725-
726721
#ifndef OFFLINE_MODE_DEBUG
727722
WS_DEBUG_PRINTLN("[SD] Deserializing config.json...");
728723
JsonDocument &doc = WsV2._fileSystemV2->GetDocCfg();

0 commit comments

Comments
 (0)