Minor cleanup, added HiZ as color

This commit is contained in:
Mitch Souders
2020-11-15 17:57:40 -08:00
parent c7d32ca86e
commit 231cc63009
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ where
}
fn clear_frame(&mut self, spi: &mut SPI) -> Result<(), SPI::Error> {
let bg = 0x77; /*clear frame */ //OctColor::colors_byte(self.color, self.color);
let bg = OctColor::colors_byte(self.color, self.color);
self.wait_busy_high();
self.send_resolution(spi)?;
self.command(spi, Command::DATA_START_TRANSMISSION_1)?;