Set IO PX4_I2C_BUS_ONBOARD I2C speed to 400KHz

This commit is contained in:
hxxnrx 2014-07-10 21:50:23 +02:00
parent 5bb8c50112
commit c97e08bcf0
1 changed files with 1 additions and 1 deletions

2
src/drivers/px4io/px4io_i2c.cpp Normal file → Executable file
View File

@ -79,7 +79,7 @@ device::Device
} }
PX4IO_I2C::PX4IO_I2C(int bus, uint8_t address) : PX4IO_I2C::PX4IO_I2C(int bus, uint8_t address) :
I2C("PX4IO_i2c", nullptr, bus, address, 320000) I2C("PX4IO_i2c", nullptr, bus, address, 400000)
{ {
_retries = 3; _retries = 3;
} }