Cranking up bus speeds for all sensors to achievable 10.4 MHz, will cut the bus lock time to half

This commit is contained in:
Lorenz Meier
2013-12-15 18:32:46 +01:00
parent d6a6d59d2d
commit f4ac204f46
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ private:
};
L3GD20::L3GD20(int bus, const char* path, spi_dev_e device) :
SPI("L3GD20", path, bus, device, SPIDEV_MODE3, 8000000),
SPI("L3GD20", path, bus, device, SPIDEV_MODE3, 11*1000*1000 /* will be rounded to 10.4 MHz, within margins for L3GD20 */),
_call_interval(0),
_reports(nullptr),
_gyro_range_scale(0.0f),