MPU6K: Use usleep where usleep should be used instead of up_udelay()

This commit is contained in:
Lorenz Meier 2014-06-22 16:49:52 +02:00
parent 0673740e0e
commit 73d4d6faec
1 changed files with 1 additions and 1 deletions

View File

@ -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);