[][src]Function mynewt::hw::sensor::set_poll_rate_ms

pub fn set_poll_rate_ms(devname: &Strn<'_>, poll_rate: u32) -> MynewtResult<()>

Set the sensor poll rate

  • devname: Name of the sensor
  • poll_rate: The poll rate in milli seconds