parent
059b06292b
commit
e6ae70dee6
|
@ -6,6 +6,7 @@
|
|||
#include "wideband_state_generated.h"
|
||||
#include "electronic_throttle_generated.h"
|
||||
#include "knock_controller_generated.h"
|
||||
#include "fuel_computer.h"
|
||||
|
||||
template<>
|
||||
const output_channels_s* getLiveDataAddr() {
|
||||
|
@ -54,6 +55,11 @@ const ac_control_s* getLiveDataAddr() {
|
|||
return &engine->module<AcController>().unmock();
|
||||
}
|
||||
|
||||
template<>
|
||||
const fuel_computer_s* getLiveDataAddr() {
|
||||
return engine->fuelComputer;
|
||||
}
|
||||
|
||||
template<>
|
||||
const fan_control_s* getLiveDataAddr(size_t idx) {
|
||||
switch (idx) {
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
class ValueProvider3D;
|
||||
|
||||
#include "rusefi_types.h"
|
||||
#include "fuel_computer_generated.h"
|
||||
|
||||
struct IFuelComputer {
|
||||
struct IFuelComputer : public fuel_computer_s {
|
||||
virtual mass_t getCycleFuel(mass_t airmass, int rpm, float load) const = 0;
|
||||
};
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "global.h"
|
||||
|
||||
void initBenchTest();
|
||||
void onConfigurationChangeBenchTest();
|
||||
|
||||
|
|
Loading…
Reference in New Issue