summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-10-10 01:12:46 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-10-10 01:12:46 +0200
commitf8e706f8bc5a69f5b8134624516a3597d335685e (patch)
tree808a6be7228b127bafc22151f5d0093c88ec7138
parentdad025934dc59d58b93a5067694d8a499b8117af (diff)
Give all hardware enough time to initialize.
-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();