Improve documentation

pull/4/head
Diego Barrios Romero 2018-11-03 07:59:59 +01:00
parent 7e9bfcff13
commit e6a1c4826f
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@
//! # fn main() { //! # fn main() {
//! let dev = hal::I2cdev::new("/dev/i2c-1").unwrap(); //! let dev = hal::I2cdev::new("/dev/i2c-1").unwrap();
//! let mut rtc = Ds323x::new_ds3232(dev); //! let mut rtc = Ds323x::new_ds3232(dev);
//! rtc.disable_32khz_output_on_battery().unwrap(); //! rtc.disable_32khz_output_on_battery().unwrap(); // only available for DS3232 and DS3234
//! rtc.enable_32khz_output().unwrap(); //! rtc.enable_32khz_output().unwrap();
//! # } //! # }
//! ``` //! ```