live data this

This commit is contained in:
rusefillc 2021-12-09 21:59:51 -05:00
parent 7e8e860d5a
commit 25134644e6
4 changed files with 13 additions and 5 deletions

View File

@ -161,7 +161,7 @@ private:
trigger_event_e curSignal;
trigger_event_e prevSignal;
int64_t totalEventCountBase;
uint32_t totalRevolutionCounter;
bool isFirstEvent;
};

View File

@ -1,3 +1,4 @@
struct_no_prefix trigger_state_s
float currentGap;
uint32_t totalRevolutionCounter;Crank revolution counter
end_struct

View File

@ -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
// begin
#pragma once
@ -9,8 +9,13 @@ struct trigger_state_s {
* offset 0
*/
float currentGap = (float)0;
/** total size 4*/
/**
* Crank revolution counter
* offset 4
*/
uint32_t totalRevolutionCounter = (uint32_t)0;
/** total size 8*/
};
// 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

View File

@ -1,13 +1,15 @@
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
import com.rusefi.config.*;
public class TriggerState {
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 = {
CURRENTGAP,
TOTALREVOLUTIONCOUNTER,
};
}