summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index b9a8c21..471e40e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -97,7 +97,8 @@ int main() {
GPIOB.CRH = 0x44444444;
GPIOB.ODR = 1 << 1;
- Time::sleep(10);
+ // Give all hardware enough time to initialize.
+ Time::sleep(100);
//I2C i2c;
i2c.enable();