rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
LtftState Struct Reference

#include <long_term_fuel_trim.h>

Collaboration diagram for LtftState:
Collaboration graph
[legend]

Public Member Functions

void save ()
 
void load ()
 
void reset ()
 
void applyToVe ()
 
void fillRandom ()
 

Data Fields

float trims [FT_BANK_COUNT][VE_LOAD_COUNT][VE_RPM_COUNT]
 

Detailed Description

Definition at line 8 of file long_term_fuel_trim.h.

Member Function Documentation

◆ applyToVe()

void LtftState::applyToVe ( )

Referenced by load().

Here is the caller graph for this function:

◆ fillRandom()

void LtftState::fillRandom ( )

Referenced by load().

Here is the caller graph for this function:

◆ load()

void LtftState::load ( )

Definition at line 30 of file long_term_fuel_trim.cpp.

Here is the call graph for this function:

◆ reset()

void LtftState::reset ( )

Referenced by load().

Here is the caller graph for this function:

◆ save()

void LtftState::save ( )

Definition at line 24 of file long_term_fuel_trim.cpp.

24 {
25#if EFI_PROD_CODE
26 storageWrite(EFI_LTFT_RECORD_ID, (const uint8_t *)trims, sizeof(trims));
27#endif //EFI_PROD_CODE
28}
StorageStatus storageWrite(StorageItemId id, const uint8_t *ptr, size_t size)
Definition storage.cpp:142
@ EFI_LTFT_RECORD_ID
Definition storage.h:51
float trims[FT_BANK_COUNT][VE_LOAD_COUNT][VE_RPM_COUNT]
Here is the call graph for this function:

Field Documentation

◆ trims

float LtftState::trims[FT_BANK_COUNT][VE_LOAD_COUNT][VE_RPM_COUNT]

Definition at line 10 of file long_term_fuel_trim.h.

Referenced by load(), and save().


The documentation for this struct was generated from the following files: