At least: font code generator, exchange code support for color 128x128
This commit is contained in:
@@ -74,7 +74,7 @@ void SpiDriver::init()
|
||||
|
||||
// Enable Master mode and half the baud rate, so it's set to ~1MHz
|
||||
m_spi->CR1 |= SPI_CR1_MSTR | SPI_CR1_LSBFIRST | SPI_CR1_SSM;
|
||||
m_spi->CR1 |= 1u << SPI_CR1_BR_Pos;
|
||||
//m_spi->CR1 |= 1u << SPI_CR1_BR_Pos;
|
||||
m_spi->CR2 |= SPI_CR2_SSOE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user