33static_assert(efi::size(
auxSensors) == LUA_ANALOG_INPUT_COUNT);
34static_assert(efi::size(
luaGauges) == LUA_GAUGE_COUNT);
52 for (
size_t i = 0; i < efi::size(
luaGauges); i++) {
static AdcSubscriptionEntry * SubscribeSensor(FunctionalSensorBase &sensor, adc_channel_e channel, float lowpassCutoffHZ, float voltsPerAdcVolt=0.0f)
static void UnsubscribeSensor(FunctionalSensorBase &sensor)
Class for sensors that convert from some raw floating point value (ex: voltage, frequency,...
Base class for sensors that compute a value on one thread, and want to make it available to consumers...
static constexpr engine_configuration_s * engineConfiguration
IdentityFunction identityFunction
static FunctionalSensor auxSensors[]
StoredValueSensor luaGauges[]
static Lps25Sensor sensor(device)
adc_channel_e auxAnalogInputs[LUA_ANALOG_INPUT_COUNT]