diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-22 16:49:52 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-22 16:49:52 +0200 |
commit | 73d4d6faec818484750fc56b5129038abf9a5259 (patch) | |
tree | bb3303bc945bd1148740f5ba707d3eb5827f6017 /src/drivers/mpu6000 | |
parent | 0673740e0e0ed4bc2134805ee1d556b92d4b7da5 (diff) | |
download | px4-firmware-73d4d6faec818484750fc56b5129038abf9a5259.tar.gz px4-firmware-73d4d6faec818484750fc56b5129038abf9a5259.tar.bz2 px4-firmware-73d4d6faec818484750fc56b5129038abf9a5259.zip |
MPU6K: Use usleep where usleep should be used instead of up_udelay()
Diffstat (limited to 'src/drivers/mpu6000')
-rw-r--r-- | src/drivers/mpu6000/mpu6000.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/mpu6000/mpu6000.cpp b/src/drivers/mpu6000/mpu6000.cpp index 321fdd173..0edec3d0e 100644 --- a/src/drivers/mpu6000/mpu6000.cpp +++ b/src/drivers/mpu6000/mpu6000.cpp @@ -544,7 +544,7 @@ void MPU6000::reset() write_reg(MPUREG_USER_CTRL, BIT_I2C_IF_DIS); irqrestore(state); - up_udelay(1000); + usleep(1000); // SAMPLE RATE _set_sample_rate(_sample_rate); |