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);
|
||||
palSetPadModeRaw(MOSI, ST7565_SPI_MODE);
|
||||
palSetPadModeRaw(SLCK, ST7565_SPI_MODE);
|
||||
palSetPadModeRaw(SS, PAL_MODE_OUTPUT_PUSHPULL);
|
||||
palSetPadModeNamed(SS, PAL_MODE_OUTPUT_PUSHPULL);
|
||||
|
||||
spiInit();
|
||||
spiStart(&SPID1, &spi1config);
|
||||
|
|
Loading…
Reference in New Issue