Andrey 2023-09-09 20:27:53 -04:00
parent f4a217a8fe
commit 768eefbb36
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -1,3 +1,3 @@
struct_no_prefix trigger_state_primary_s
bit m_hasSynchronizedPhase
bit m_hasSynchronizedPhase;sync: Known Engine Phase
end_struct

View File

@ -73,7 +73,7 @@ public class OutputsTest {
"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);
@ -96,7 +96,7 @@ public class OutputsTest {
"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());
}