Remove remaining pre 2018 artifacts

This commit is contained in:
marcelbuesing 2019-11-27 11:07:15 +01:00
parent ad8d0798ed
commit 06af0d61b2
No known key found for this signature in database
GPG key ID: 5E8C5624159F80BB
2 changed files with 5 additions and 7 deletions

View file

@ -44,12 +44,7 @@
//! ``` //! ```
#![no_std] #![no_std]
#![forbid(unsafe_code)]
#[macro_use]
extern crate bitflags;
extern crate embedded_hal as hal;
#[macro_use]
extern crate log;
pub use self::settings::{ pub use self::settings::{
DesiredSensorSettings, GasSett, IIRFilterSize, OversamplingSetting, SensorSettings, Settings, DesiredSensorSettings, GasSett, IIRFilterSize, OversamplingSetting, SensorSettings, Settings,
@ -60,11 +55,13 @@ mod calc;
mod settings; mod settings;
use crate::calc::Calc; use crate::calc::Calc;
use crate::hal::blocking::delay::DelayMs; use crate::hal::blocking::delay::DelayMs;
use crate::hal::blocking::i2c::{Read, Write}; use crate::hal::blocking::i2c::{Read, Write};
use core::result; use core::result;
use core::time::Duration; use core::time::Duration;
use embedded_hal as hal;
use log::{debug, error, info};
/// BME680 General config /// BME680 General config
pub const BME680_POLL_PERIOD_MS: u8 = 10; pub const BME680_POLL_PERIOD_MS: u8 = 10;

View file

@ -1,3 +1,4 @@
use bitflags::bitflags;
use core::time::Duration; use core::time::Duration;
/// Over-sampling settings /// Over-sampling settings