From cf7e54a15b27d9a184b9507eae6141340076e9ca Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 14 Feb 2023 19:54:22 -0500 Subject: [PATCH] Native SENT TPS input #5079 --- firmware/controllers/sensors/sent_state.txt | 4 ++++ firmware/integration/LiveData.yaml | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 firmware/controllers/sensors/sent_state.txt diff --git a/firmware/controllers/sensors/sent_state.txt b/firmware/controllers/sensors/sent_state.txt new file mode 100644 index 0000000000..8c62b0346a --- /dev/null +++ b/firmware/controllers/sensors/sent_state.txt @@ -0,0 +1,4 @@ +struct sent_state_s + uint16_t value1 + float errorRate;"ETB: SENT error rate";"ratio", 1,0, 0,3, 2,@@GAUGE_CATEGORY_ETB@@ +end_struct \ No newline at end of file diff --git a/firmware/integration/LiveData.yaml b/firmware/integration/LiveData.yaml index beac4aeaea..bd20f54027 100644 --- a/firmware/integration/LiveData.yaml +++ b/firmware/integration/LiveData.yaml @@ -141,4 +141,9 @@ Usages: java: DcMotors.java folder: controllers/actuators prepend: integration/rusefi_config.txt - constexpr: "engine->dc_motors" \ No newline at end of file + constexpr: "engine->dc_motors" + + - name: sent_state + java: SentState.java + folder: controllers/sensors/ + prepend: integration/rusefi_config.txt