Skip to content

Commit

Permalink
Comment out print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sebromero committed Jul 11, 2024
1 parent 3d5097c commit b226385
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/I2CDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bool I2CDevice::persistRegister(RegisterInfo registerInfo){
return true;
}
// Even a value of 1 us seems to work, but we start with 100 us to be safe.
Serial.println("⌛️ Waiting for flash write to complete...");
// Serial.println("⌛️ Waiting for flash write to complete...");
// Exponential sleep duration
delayMicroseconds(100 * (2 << i));
}
Expand Down
4 changes: 2 additions & 2 deletions src/NiclaSenseEnv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ bool NiclaSenseEnv::persistSettings() {
return true;
}
// Even a value of 1 us seems to work, but we start with 100 us to be safe.
Serial.println("⌛️ Waiting for flash write to complete...");
// Serial.println("⌛️ Waiting for flash write to complete...");
// Exponential sleep duration
delayMicroseconds(100 * (2 << i));
}
Expand Down Expand Up @@ -139,7 +139,7 @@ bool NiclaSenseEnv::restoreFactorySettings() {
if ((boardControlRegisterData & (1 << 5)) == 0) {
return persistSettings();
}
Serial.println("⌛️ Waiting for factory reset to complete...");
// Serial.println("⌛️ Waiting for factory reset to complete...");
// Exponential sleep duration
delayMicroseconds(100 * (2 << i));
}
Expand Down

0 comments on commit b226385

Please sign in to comment.