mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-02 21:47:15 +00:00
Trunk formating
This commit is contained in:
parent
fc8594a8d3
commit
aca5249fd1
@ -76,7 +76,6 @@ static const uint8_t ext_chrg_detect_value = EXT_CHRG_DETECT_VALUE;
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if HAS_TELEMETRY && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
|
#if HAS_TELEMETRY && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
|
||||||
#include "main.h";
|
#include "main.h";
|
||||||
uint8_t INA_ADDR_LOCAL;
|
uint8_t INA_ADDR_LOCAL;
|
||||||
@ -507,7 +506,6 @@ class AnalogBatteryLevel : public HasBatteryLevel
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if HAS_TELEMETRY && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR && !defined(ARCH_STM32WL)
|
#if HAS_TELEMETRY && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR && !defined(ARCH_STM32WL)
|
||||||
/*
|
/*
|
||||||
Read Voltage from INA using autodetect of addr first else use addr in config.power.device_battery_ina_address
|
Read Voltage from INA using autodetect of addr first else use addr in config.power.device_battery_ina_address
|
||||||
|
@ -41,7 +41,6 @@ ScanI2C::FoundDevice ScanI2C::firstAccelerometer() const
|
|||||||
return firstOfOrNONE(8, types);
|
return firstOfOrNONE(8, types);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ScanI2C::FoundDevice ScanI2C::firstINA() const
|
ScanI2C::FoundDevice ScanI2C::firstINA() const
|
||||||
{
|
{
|
||||||
ScanI2C::DeviceType types[] = {INA219, INA226, INA260, INA3221};
|
ScanI2C::DeviceType types[] = {INA219, INA226, INA260, INA3221};
|
||||||
|
@ -180,7 +180,6 @@ ScanI2C::FoundDevice rgb_found = ScanI2C::FoundDevice(ScanI2C::DeviceType::NONE,
|
|||||||
ScanI2C::FoundDevice ina_found = ScanI2C::FoundDevice(ScanI2C::DeviceType::NONE, ScanI2C::ADDRESS_NONE);
|
ScanI2C::FoundDevice ina_found = ScanI2C::FoundDevice(ScanI2C::DeviceType::NONE, ScanI2C::ADDRESS_NONE);
|
||||||
ScanI2C::DeviceAddress ina_Address = ScanI2C::ADDRESS_NONE;
|
ScanI2C::DeviceAddress ina_Address = ScanI2C::ADDRESS_NONE;
|
||||||
|
|
||||||
|
|
||||||
#ifdef T_WATCH_S3
|
#ifdef T_WATCH_S3
|
||||||
Adafruit_DRV2605 drv;
|
Adafruit_DRV2605 drv;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user