This (unused as of today) line was forgotten when the
optional scaling specified was renamed from scale to
opt_scale. It's intended for single channel sensors,
such as the temperature or ALS.
Issue: STPK-1429
Change-Id: Idcc69f8113636ff95e84140bbf4ec21d45ad811c
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
}
} else {
opt_scale = 1;
- sensor_get_fl_prop(s, "scale", &opt_scale);
+ sensor_get_fl_prop(s, "opt_scale", &opt_scale);
sensor_info[s].channel[0].opt_scale = opt_scale;
}