code guard
This commit is contained in:
parent
bebfc6f975
commit
ada50d477f
|
@ -140,7 +140,11 @@ const trigger_state_primary_s* getLiveData(size_t) {
|
|||
|
||||
template<>
|
||||
const wall_fuel_state_s* getLiveData(size_t) {
|
||||
#if EFI_ENGINE_CONTROL
|
||||
return &engine->injectionEvents.elements[0].wallFuel;
|
||||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Reference in New Issue