mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-23 20:03:01 +00:00
Merge pull request #1245 from fredizzimo/fix_lcd_pin_configuration
Fix LCD SS pin configuration
This commit is contained in:
commit
95242fe0f1
@ -75,7 +75,7 @@ static GFXINLINE void init_board(GDisplay *g) {
|
|||||||
palSetPad(ST7565_GPIOPORT, ST7565_RST_PIN);
|
palSetPad(ST7565_GPIOPORT, ST7565_RST_PIN);
|
||||||
palSetPadModeRaw(MOSI, ST7565_SPI_MODE);
|
palSetPadModeRaw(MOSI, ST7565_SPI_MODE);
|
||||||
palSetPadModeRaw(SLCK, ST7565_SPI_MODE);
|
palSetPadModeRaw(SLCK, ST7565_SPI_MODE);
|
||||||
palSetPadModeRaw(SS, PAL_MODE_OUTPUT_PUSHPULL);
|
palSetPadModeNamed(SS, PAL_MODE_OUTPUT_PUSHPULL);
|
||||||
|
|
||||||
spiInit();
|
spiInit();
|
||||||
spiStart(&SPID1, &spi1config);
|
spiStart(&SPID1, &spi1config);
|
||||||
|
Loading…
Reference in New Issue
Block a user