forked from Archive/PX4-Autopilot
MPU6K: Use usleep where usleep should be used instead of up_udelay()
This commit is contained in:
parent
0673740e0e
commit
73d4d6faec
|
@ -544,7 +544,7 @@ void MPU6000::reset()
|
||||||
write_reg(MPUREG_USER_CTRL, BIT_I2C_IF_DIS);
|
write_reg(MPUREG_USER_CTRL, BIT_I2C_IF_DIS);
|
||||||
irqrestore(state);
|
irqrestore(state);
|
||||||
|
|
||||||
up_udelay(1000);
|
usleep(1000);
|
||||||
|
|
||||||
// SAMPLE RATE
|
// SAMPLE RATE
|
||||||
_set_sample_rate(_sample_rate);
|
_set_sample_rate(_sample_rate);
|
||||||
|
|
Loading…
Reference in New Issue