Fix I2C address for QMC5883L.

QMC5883L and HMC5883L are 3-axis compasses which are often confused.
As reported by @Africmod, we had the wrong I2C address for the QMC5883L.
This patch fixes the address and adds its HMC5883L so we keep info
about both.

Fixes https://github.com/meshtastic/firmware/issues/4144
This commit is contained in:
Tom Fifield
2024-09-17 08:37:12 +08:00
parent a5118787b3
commit 6f1db6fc63
4 changed files with 8 additions and 4 deletions

View File

@@ -36,6 +36,7 @@ class ScanI2C
QMC6310,
QMI8658,
QMC5883L,
HMC5883L,
PMSA0031,
MPU6050,
LIS3DH,
@@ -118,4 +119,4 @@ class ScanI2C
private:
bool shouldSuppressScreen = false;
};
};