Add support for BMX160/RAK12034 compass module (#4021)

This commit is contained in:
Jonathan Bennett
2024-06-11 17:47:45 -05:00
committed by GitHub
parent 7f2647abb1
commit 0852a170a3
22 changed files with 1760 additions and 10 deletions

View File

@@ -36,8 +36,8 @@ ScanI2C::FoundDevice ScanI2C::firstKeyboard() const
ScanI2C::FoundDevice ScanI2C::firstAccelerometer() const
{
ScanI2C::DeviceType types[] = {MPU6050, LIS3DH, BMA423, LSM6DS3};
return firstOfOrNONE(4, types);
ScanI2C::DeviceType types[] = {MPU6050, LIS3DH, BMA423, LSM6DS3, BMX160};
return firstOfOrNONE(5, types);
}
ScanI2C::FoundDevice ScanI2C::find(ScanI2C::DeviceType) const