rust: Bump LCD SPI clock rate

Now that LCD is using DMA, the SPI clock rate can be increased.
This commit is contained in:
Wladimir J. van der Laan 2019-08-11 16:02:48 +00:00
parent a5d1f5c9ae
commit e32ba5b66a

View File

@ -210,7 +210,7 @@ impl<X: SPI> LCDLL for LCD<'_, X> {
self.init_dcx();
self.init_rst();
self.set_rst(false);
self.spi.set_clk_rate(10000000);
self.spi.set_clk_rate(18000000);
self.spi.configure(
work_mode::MODE0,
frame_format::OCTAL,