aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2017-04-19 07:59:39 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2017-04-19 07:59:39 +0300
commit430a8e17508926718759b860977cb59831720fca (patch)
tree430be4bccce6169bbbad81a4fbebcbcf0d9738f9 /keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox
parentbe0afd24bffb62bdef1195583e2d98f4714ade49 (diff)
downloadqmk_firmware-430a8e17508926718759b860977cb59831720fca.tar.gz
Fix LCD SS pin configuration
There was a typo, so the attempted configuration proably didn't do what it should have done. I think it left the pin floating, and could cause the LCD problems issue-1230.
Diffstat (limited to 'keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox')
-rw-r--r--keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/board_ST7565.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/board_ST7565.h b/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/board_ST7565.h
index e8c17e6e3..9650ffb44 100644
--- a/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/board_ST7565.h
+++ b/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/board_ST7565.h
@@ -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);