49 #ifdef ADC_AIRSPEED_VOLTAGE_CHANNEL 50 parameter_handles.diff_pres_analog_scale =
param_find(
"SENS_DPRES_ANSC");
100 #ifdef ADC_AIRSPEED_VOLTAGE_CHANNEL 101 param_get(parameter_handles.diff_pres_analog_scale, &(parameters.diff_pres_analog_scale));
void initialize_parameter_handles(ParameterHandles ¶meter_handles)
initialize ParameterHandles struct
param_t diff_pres_offset_pa
float air_tube_diameter_mm
int param_get(param_t param, void *val)
Copy the value of a parameter.
void update_parameters(const ParameterHandles ¶meter_handles, Parameters ¶meters)
Read out the parameters using the handles into the parameters struct.
float diff_pres_offset_pa
param_t air_tube_diameter_mm
param_t param_find(const char *name)
Look up a parameter by name.