We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed15084 commit 8fdba69Copy full SHA for 8fdba69
src/components/i2c/drivers/drvIna260.cpp
@@ -59,7 +59,7 @@ bool drvIna260::begin() {
59
*/
60
/*******************************************************************************/
61
bool drvIna260::getEventVoltage(sensors_event_t *voltageEvent) {
62
- voltageEvent->voltage = _ina260->readBusVoltage();
+ voltageEvent->voltage = _ina260->readBusVoltage() / 1000.0f;
63
return true;
64
}
65
0 commit comments