mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 01:16:20 +04:00
rust: Bump LCD SPI clock rate
Now that LCD is using DMA, the SPI clock rate can be increased.
This commit is contained in:
parent
a5d1f5c9ae
commit
e32ba5b66a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user