diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-10-10 01:12:46 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-10-10 01:12:46 +0200 |
commit | f8e706f8bc5a69f5b8134624516a3597d335685e (patch) | |
tree | 808a6be7228b127bafc22151f5d0093c88ec7138 | |
parent | dad025934dc59d58b93a5067694d8a499b8117af (diff) |
Give all hardware enough time to initialize.
-rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(); |