making delay public

This commit is contained in:
Christoph Groß
2018-05-11 11:36:56 +02:00
parent d75a3f3e96
commit d82a3d82f9
+4 -2
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);
}
}