summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-11-10 20:02:11 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-11-10 20:02:11 +0100
commit9e5875f2908c1ce506e7c5712ccabc379f911360 (patch)
tree77aacacdee21fa344327f983af696a2056370ff2
parentf045df8d6c46eda5bec32dec590180784336f6b3 (diff)
Fixed initialization delay.
-rw-r--r--main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index c45b87d..b576869 100644
--- a/main.cpp
+++ b/main.cpp
@@ -144,12 +144,10 @@ int main() {
RCC.enable(RCC.ADC1);
// Give all hardware enough time to initialize.
- Time::sleep(100);
+ Time::sleep(200);
- //I2C i2c;
i2c.enable();
- //ITG3200 gyro(i2c);
gyro.init();
accel.init();