Skip to content

Commit

Permalink
https://rusefi.com/forum/viewtopic.php?f=4&t=2613
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Sep 10, 2023
1 parent f4a217a commit 768eefb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion firmware/controllers/trigger/trigger_state.txt
Expand Up @@ -7,6 +7,6 @@ struct_no_prefix trigger_state_s

uint8_t triggerStateIndex
uint8_t vvtCounter
uint8_t camResyncCounter
uint8_t camResyncCounter;sync: Phase Re-Sync Counter
uint8_t vvtStateIndex
end_struct
2 changes: 1 addition & 1 deletion firmware/controllers/trigger/trigger_state_primary.txt
@@ -1,3 +1,3 @@
struct_no_prefix trigger_state_primary_s
bit m_hasSynchronizedPhase
bit m_hasSynchronizedPhase;sync: Known Engine Phase
end_struct
Expand Up @@ -73,7 +73,7 @@ public void generateDataLog() {
"uint8_t autoscale vehicleSpeedKph;;\"kph\",1, 0, 0, 0, 0\n" +
"bit isBrakePedalDown;is pedal down?\n" +
"\tuint8_t unused37;;\"\",1, 0, 0, 0, 0\n" +
"bit enableFan1WithAc;+Turn on this fan when AC is on.\n" +
"bit enableFan1WithAc,yes,no;Turn on this fan when AC is on.\n" +
"end_struct\n";
ReaderStateImpl state = new ReaderStateImpl();
state.getVariableRegistry().register("PACK_MULT_PERCENT", 100);
Expand All @@ -96,7 +96,7 @@ public void generateDataLog() {
"entry = afr_typet, \"afr_typet\", int, \"%d\"\n" +
"entry = vehicleSpeedKph, \"vehicleSpeedKph\", int, \"%d\"\n" +
"entry = isBrakePedalDown, \"is pedal down?\", int, \"%d\"\n" +
"entry = enableFan1WithAc, \"+Turn on this fan when AC is on.\", int, \"%d\"\n", dataLogConsumer.getContent());
"entry = enableFan1WithAc, \"Turn on this fan when AC is on.\", int, \"%d\"\n", dataLogConsumer.getContent());

}

Expand Down

0 comments on commit 768eefb

Please sign in to comment.