fix
All checks were successful
Test compiling project / test (push) Successful in 2m44s

This commit is contained in:
2025-03-23 18:04:14 +01:00
parent 67e9ae1bca
commit abbb8d918b
2 changed files with 3 additions and 2 deletions

View File

@@ -44,9 +44,10 @@ void read_sensor_task(void* parameter)
{
while (true) {
// Get Values from sensor
#ifndef USE_INA226
String chip_id = ina_sensor.get_device_model();
LOG(DEBUG, "Chip Model: %s", chip_id.c_str());
#endif
float bus_voltage = ina_sensor.getBusVoltage();
float shunt_voltage = ina_sensor.getShuntVoltage_mV() - zero_value;