Skip to content

Why does SettingsBuilder::with_humidity_control set a heater flag? #44

@keigen-shu

Description

@keigen-shu

See:

bme680/src/settings.rs

Lines 184 to 188 in 4b87e3c

pub fn with_humidity_control(mut self, heatr_control: u8) -> SettingsBuilder {
self.sensor_settings.gas_sett.heatr_ctrl = Some(heatr_control);
self.desired_settings |= DesiredSensorSettings::HCNTRL_SEL;
self
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions