mirror of https://github.com/rusefi/rusefi-1.git
automation around outputs section #197
This commit is contained in:
parent
62e11e18e4
commit
66043a5daf
|
@ -1,4 +1,4 @@
|
|||
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) integration/output_channels.txt Sat Nov 20 14:37:54 EST 2021
|
||||
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) integration/output_channels.txt Sun Nov 21 09:35:08 EST 2021
|
||||
// by class com.rusefi.output.CHeaderConsumer
|
||||
// begin
|
||||
#pragma once
|
||||
|
@ -153,8 +153,36 @@ struct ts_outputs_s {
|
|||
* offset 26
|
||||
*/
|
||||
scaled_channel<uint16_t, 1000, 1> massAirFlowVoltage = (uint16_t)0;
|
||||
/** total size 28*/
|
||||
/**
|
||||
* offset 28
|
||||
*/
|
||||
scaled_channel<uint16_t, 10, 1> massAirFlow = (uint16_t)0;
|
||||
/**
|
||||
* offset 30
|
||||
*/
|
||||
scaled_channel<uint16_t, 30, 1> manifoldAirPressure = (uint16_t)0;
|
||||
/**
|
||||
* offset 32
|
||||
*/
|
||||
scaled_channel<uint16_t, 30, 1> baroPressure = (uint16_t)0;
|
||||
/**
|
||||
* offset 34
|
||||
*/
|
||||
scaled_channel<uint16_t, 10000, 1> lambda = (uint16_t)0;
|
||||
/**
|
||||
* offset 36
|
||||
*/
|
||||
scaled_channel<uint8_t, 10, 1> knockRetard = (uint8_t)0;
|
||||
/**
|
||||
* offset 37
|
||||
*/
|
||||
uint8_t unused37 = (uint8_t)0;
|
||||
/**
|
||||
* offset 38
|
||||
*/
|
||||
scaled_channel<uint16_t, 1000, 1> vBatt = (uint16_t)0;
|
||||
/** total size 40*/
|
||||
};
|
||||
|
||||
// end
|
||||
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) integration/output_channels.txt Sat Nov 20 14:37:54 EST 2021
|
||||
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) integration/output_channels.txt Sun Nov 21 09:35:08 EST 2021
|
||||
|
|
|
@ -44,16 +44,6 @@ enum class TsCalMode : uint8_t {
|
|||
struct TunerStudioOutputChannels : ts_outputs_s {
|
||||
/* see also [OutputChannels] in rusefi.input */
|
||||
|
||||
scaled_channel<uint16_t, PACK_MULT_MASS_FLOW> massAirFlow; // 28
|
||||
scaled_pressure manifoldAirPressure; // 30
|
||||
scaled_pressure baroPressure; // 32
|
||||
|
||||
scaled_lambda lambda; // 34
|
||||
scaled_channel<uint8_t, 10> knockRetard; // 36
|
||||
uint8_t unused37;
|
||||
|
||||
// misc sensors
|
||||
scaled_voltage vBatt; // 38
|
||||
scaled_pressure oilPressure; // 40
|
||||
scaled_angle vvtPositionB1I; // 42
|
||||
|
||||
|
|
|
@ -54,4 +54,15 @@ uint16_t rpmAcceleration;;"",1, 0, 0, 0, 0
|
|||
uint16_t tpsADC;;"", 1, 0, 0, 0, 0
|
||||
uint16_t autoscale massAirFlowVoltage;;"",{1/@@PACK_MULT_VOLTAGE@@}, 0, 0, 0, 0
|
||||
|
||||
uint16_t autoscale massAirFlow;;"",{1/@@PACK_MULT_MASS_FLOW@@}, 0, 0, 0, 0
|
||||
uint16_t autoscale manifoldAirPressure;;"",{1/@@PACK_MULT_PRESSURE@@}, 0, 0, 0, 0
|
||||
uint16_t autoscale baroPressure;;"",{1/@@PACK_MULT_PRESSURE@@}, 0, 0, 0, 0
|
||||
|
||||
uint16_t autoscale lambda;;"",{1/@@PACK_MULT_LAMBDA@@}, 0, 0, 0, 0
|
||||
uint8_t autoscale knockRetard;;"",{1/10}, 0, 0, 0, 0
|
||||
uint8_t unused37;;"",1, 0, 0, 0, 0
|
||||
|
||||
uint16_t autoscale vBatt;;"",{1/@@PACK_MULT_VOLTAGE@@}, 0, 0, 0, 0
|
||||
|
||||
|
||||
end_struct
|
||||
|
|
Loading…
Reference in New Issue