mirror of https://github.com/FOME-Tech/fome-fw.git
Annotations in C++ code to produce formulas in rusEfi console #807
This commit is contained in:
parent
b856256549
commit
2120e4827a
|
@ -80,6 +80,9 @@ float getTpsRateOfChange(void) {
|
||||||
percent_t getTpsValue(int adc DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
percent_t getTpsValue(int adc DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
|
|
||||||
DISPLAY_TAG(TPS_SECTION);
|
DISPLAY_TAG(TPS_SECTION);
|
||||||
|
DISPLAY_SENSOR(TPS)
|
||||||
|
DISPLAY_TEXT(EOL)
|
||||||
|
|
||||||
|
|
||||||
DISPLAY_TEXT(Analog_MCU_reads);
|
DISPLAY_TEXT(Analog_MCU_reads);
|
||||||
engine->engineState.currentTpsAdc = adc;
|
engine->engineState.currentTpsAdc = adc;
|
||||||
|
|
|
@ -8,6 +8,8 @@ public class TpsMeta {
|
||||||
new ConfigRequest("throttlePedalPositionAdcChannel"),
|
new ConfigRequest("throttlePedalPositionAdcChannel"),
|
||||||
};
|
};
|
||||||
public static final Request[] TPS_SECTION = new Request[]{
|
public static final Request[] TPS_SECTION = new Request[]{
|
||||||
|
new SensorRequest("TPS"),
|
||||||
|
new TextRequest("EOL"),
|
||||||
new TextRequest("Analog_MCU_reads"),
|
new TextRequest("Analog_MCU_reads"),
|
||||||
new FieldRequest("tpsVoltageMCU"),
|
new FieldRequest("tpsVoltageMCU"),
|
||||||
new TextRequest("Volts"),
|
new TextRequest("Volts"),
|
||||||
|
|
Loading…
Reference in New Issue