Make a few small updates to support TeXitoi rusty clock (#27)

- add a feature gated alternative full lut for type_a displays
- remove pub from set_lut_helper function
- fix behaviour of set_lut for epd2in9. it always sets the LUT now!
-  better comments
This commit is contained in:
Chris
2019-04-04 23:23:48 +02:00
committed by GitHub
parent 5c0744ff01
commit 47af2fc664
4 changed files with 14 additions and 1 deletions
+1
View File
@@ -325,6 +325,7 @@ where
Ok(())
}
/// Set your own LUT, this function is also used internally for set_lut
fn set_lut_helper(&mut self, spi: &mut SPI, buffer: &[u8]) -> Result<(), SPI::Error> {
assert!(buffer.len() == 30);
self.interface