rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
vin_strategy.cpp File Reference

Functions

void vinStrategy ()
 

Function Documentation

◆ vinStrategy()

void vinStrategy ( void  )

Definition at line 19 of file vin_strategy.cpp.

19 {
20 bool isVinFilled = static_cast<bool>(strlen(engineConfiguration->vinNumber));
21
22 bool vinStateChanged = isVinFilled == engineConfiguration->vinIsEmpty;
23
24 if (vinStateChanged) {
25 engineConfiguration->vinIsEmpty = !isVinFilled;
26 // trigger page reset, see [tag:popular_vehicle]
27#if EFI_TUNER_STUDIO && !EFI_UNIT_TEST
29#endif // EFI_TUNER_STUDIO
30 }
31
32}
static constexpr engine_configuration_s * engineConfiguration
void onApplyPreset()

Referenced by ConfigurationWizard::onConfigOnStartUpOrBurn().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.