mirror of https://github.com/rusefi/wideband.git
split out AnalogChannelResult
This commit is contained in:
parent
0f8fe7aec5
commit
e2791d8099
|
@ -4,15 +4,18 @@
|
||||||
#include "port_shared.h"
|
#include "port_shared.h"
|
||||||
#include "wideband_config.h"
|
#include "wideband_config.h"
|
||||||
|
|
||||||
|
struct AnalogChannelResult
|
||||||
|
{
|
||||||
|
float NernstVoltage;
|
||||||
|
float PumpCurrentVoltage;
|
||||||
|
/* for dual version - this is voltage on Heater-, switches between zero and Vbatt with heater PWM,
|
||||||
|
* used for both Vbatt measurement and Heater diagnostic */
|
||||||
|
float BatteryVoltage;
|
||||||
|
};
|
||||||
|
|
||||||
struct AnalogResult
|
struct AnalogResult
|
||||||
{
|
{
|
||||||
struct {
|
AnalogChannelResult ch[AFR_CHANNELS];
|
||||||
float NernstVoltage;
|
|
||||||
float PumpCurrentVoltage;
|
|
||||||
/* for dual version - this is voltage on Heater-, switches between zero and Vbatt with heater PWM,
|
|
||||||
* used for both Vbatt measurement and Heater diagnostic */
|
|
||||||
float BatteryVoltage;
|
|
||||||
} ch[AFR_CHANNELS];
|
|
||||||
float VirtualGroundVoltageInt;
|
float VirtualGroundVoltageInt;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue