making delay public

embedded-hal-1.0
Christoph Groß 2018-05-11 11:36:56 +02:00
parent d75a3f3e96
commit d82a3d82f9
1 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,8 @@
//!
//!
//!
//! BE CAREFUL! The Partial Drawing can "destroy" your display.
//! It needs more testing first.
use hal::{
@ -531,8 +533,8 @@ where
}
// Abstraction of setting the delay for simpler calls
fn delay_ms(&mut self, delay: u16) {
/// Abstraction of setting the delay for simpler calls
pub fn delay_ms(&mut self, delay: u16) {
self.delay.delay_ms(delay);
}
}