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

@@ -25,7 +25,7 @@ lib_deps =
https://github.com/tobimai/elog.git#fix-syslog
board_build.partitions = default.csv
upload_protocol = espota
upload_port = 10.1.10.8
upload_port = 10.1.60.43
build_flags = -Wall -Wextra -DLOGGING_SPIFFS_DISABLE -DLOGGING_SD_DISABLE
[env:ESP32_INA226]

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;