live data this
This commit is contained in:
parent
7e8e860d5a
commit
25134644e6
|
@ -161,7 +161,7 @@ private:
|
||||||
trigger_event_e curSignal;
|
trigger_event_e curSignal;
|
||||||
trigger_event_e prevSignal;
|
trigger_event_e prevSignal;
|
||||||
int64_t totalEventCountBase;
|
int64_t totalEventCountBase;
|
||||||
uint32_t totalRevolutionCounter;
|
|
||||||
bool isFirstEvent;
|
bool isFirstEvent;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
struct_no_prefix trigger_state_s
|
struct_no_prefix trigger_state_s
|
||||||
float currentGap;
|
float currentGap;
|
||||||
|
uint32_t totalRevolutionCounter;Crank revolution counter
|
||||||
end_struct
|
end_struct
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_state.txt Sun Oct 17 01:13:41 UTC 2021
|
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_state.txt Thu Dec 09 21:55:23 EST 2021
|
||||||
// by class com.rusefi.output.CHeaderConsumer
|
// by class com.rusefi.output.CHeaderConsumer
|
||||||
// begin
|
// begin
|
||||||
#pragma once
|
#pragma once
|
||||||
|
@ -9,8 +9,13 @@ struct trigger_state_s {
|
||||||
* offset 0
|
* offset 0
|
||||||
*/
|
*/
|
||||||
float currentGap = (float)0;
|
float currentGap = (float)0;
|
||||||
/** total size 4*/
|
/**
|
||||||
|
* Crank revolution counter
|
||||||
|
* offset 4
|
||||||
|
*/
|
||||||
|
uint32_t totalRevolutionCounter = (uint32_t)0;
|
||||||
|
/** total size 8*/
|
||||||
};
|
};
|
||||||
|
|
||||||
// end
|
// end
|
||||||
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_state.txt Sun Oct 17 01:13:41 UTC 2021
|
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_state.txt Thu Dec 09 21:55:23 EST 2021
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
package com.rusefi.config.generated;
|
package com.rusefi.config.generated;
|
||||||
|
|
||||||
// this file was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_state.txt Sun Oct 17 01:13:41 UTC 2021
|
// this file was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_state.txt Thu Dec 09 21:55:23 EST 2021
|
||||||
|
|
||||||
// by class com.rusefi.output.FileJavaFieldsConsumer
|
// by class com.rusefi.output.FileJavaFieldsConsumer
|
||||||
import com.rusefi.config.*;
|
import com.rusefi.config.*;
|
||||||
|
|
||||||
public class TriggerState {
|
public class TriggerState {
|
||||||
public static final Field CURRENTGAP = Field.create("CURRENTGAP", 0, FieldType.FLOAT);
|
public static final Field CURRENTGAP = Field.create("CURRENTGAP", 0, FieldType.FLOAT);
|
||||||
|
public static final Field TOTALREVOLUTIONCOUNTER = Field.create("TOTALREVOLUTIONCOUNTER", 4, FieldType.INT);
|
||||||
public static final Field[] VALUES = {
|
public static final Field[] VALUES = {
|
||||||
CURRENTGAP,
|
CURRENTGAP,
|
||||||
|
TOTALREVOLUTIONCOUNTER,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue