Telemetry sensors re-map (#1765)

* Add factory erase uf2 to the release assets

* Sensors map

* Uncomment sensors
This commit is contained in:
Ben Meadors
2022-10-07 08:33:07 -05:00
committed by GitHub
parent 004f6fa4d6
commit bf4115a80f
5 changed files with 12 additions and 8 deletions

View File

@@ -147,11 +147,11 @@ void scanI2Cdevice(void)
}
if(addr == QMC6310_ADDR){
DEBUG_MSG("QMC6310 3-Axis magnetic sensor found at address 0x%x\n", (uint8_t)addr);
// nodeTelemetrySensorsMap[TelemetrySensorType_QMC6310] = addr; //Uncomment after protobufs PR is merged
nodeTelemetrySensorsMap[TelemetrySensorType_QMC6310] = addr;
}
if(addr == QMI8658_ADDR){
DEBUG_MSG("QMI8658 6-Axis inertial measurement sensor found at address 0x%x\n", (uint8_t)addr);
// nodeTelemetrySensorsMap[TelemetrySensorType_QMI8658] = addr; //Uncomment after protobufs PR is merged
nodeTelemetrySensorsMap[TelemetrySensorType_QMI8658] = addr;
}
} else if (err == 4) {
DEBUG_MSG("Unknow error at address 0x%x\n", addr);