Merge branch 'master' of https://github.com/rusefi/rusefi
This commit is contained in:
commit
398f885a72
|
@ -1,2 +1,2 @@
|
|||
#pragma once
|
||||
#define VCS_DATE 20230820
|
||||
#define VCS_DATE 20230821
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
// was generated automatically by rusEFI tool config_definition.jar based on gen_config.sh by SignatureConsumer
|
||||
//
|
||||
|
||||
#define SIGNATURE_HASH 2970052162
|
||||
#define TS_SIGNATURE "rusEFI master.2023.08.20.hellen-honda-k.2970052162"
|
||||
#define SIGNATURE_HASH 2119878641
|
||||
#define TS_SIGNATURE "rusEFI master.2023.08.20.hellen-honda-k.2119878641"
|
||||
|
|
|
@ -5,4 +5,9 @@
|
|||
|
||||
#include "efi_output.h"
|
||||
|
||||
|
||||
void SwitchState::update(bool newState) {
|
||||
if (newState != *state) {
|
||||
*state = newState;
|
||||
counter++;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,17 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
class SwitchState {
|
||||
void init(bool *state, uint16_t *counter) {
|
||||
this->state = state;
|
||||
this->counter = counter;
|
||||
}
|
||||
|
||||
bool *state;
|
||||
uint16_t *counter;
|
||||
void update(bool newState);
|
||||
};
|
||||
|
||||
// Used if you want a function to be virtual only for unit testing purposes
|
||||
#if EFI_UNIT_TEST
|
||||
#define TEST_VIRTUAL virtual
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 03defc1513c37149ef5af894dbc8393f6a3603e8
|
||||
Subproject commit 9de239a2ac71c688b28862db8e22321966c1f24b
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.08.20.hellen-honda-k.2970052162"
|
||||
signature = "rusEFI master.2023.08.20.hellen-honda-k.2119878641"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.08.20.hellen-honda-k.2970052162" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.08.20.hellen-honda-k.2119878641" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -92,7 +92,7 @@ enable2ndByteCanID = false
|
|||
#define adc_channel_e_list="NONE","INVALID","INVALID","INVALID","INVALID","A15 TPS","E9 Ignition Key Voltage","INVALID","INVALID","INVALID","INVALID","A19 - MAP","INVALID","B8 - CLT","B17 IAT"
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Sun Aug 20 01:29:18 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool config_definition.jar based on (unknown script) integration/rusefi_config.txt Sun Aug 20 02:27:12 UTC 2023
|
||||
|
||||
pageSize = 23468
|
||||
page = 1
|
||||
|
|
Loading…
Reference in New Issue