aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-25 11:32:41 +0200
committerTectu <joel@unormal.org>2012-06-25 11:32:41 +0200
commit84c868d5f5ae60b893441cb9f2b8b10f2ac8034b (patch)
tree026e1bdba34c346608a691a63102d02ce2797d70
parent192282d6aff3a7fbe7c73e7c181d62955586bbce (diff)
downloaduGFX-84c868d5f5ae60b893441cb9f2b8b10f2ac8034b.tar.gz
uGFX-84c868d5f5ae60b893441cb9f2b8b10f2ac8034b.tar.bz2
uGFX-84c868d5f5ae60b893441cb9f2b8b10f2ac8034b.zip
lld_lcdWriteGPIO() return type
-rw-r--r--drivers/lcd/ssd1289_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lcd/ssd1289_lld.c b/drivers/lcd/ssd1289_lld.c
index d1d34310..e0d7fb28 100644
--- a/drivers/lcd/ssd1289_lld.c
+++ b/drivers/lcd/ssd1289_lld.c
@@ -8,7 +8,7 @@ extern uint16_t lcd_width, lcd_height;
#ifdef LCD_USE_GPIO
-static __inline lld_lcdWriteGPIO(uint16_t d) {
+static __inline void lld_lcdWriteGPIO(uint16_t d) {
LCD_DATA_PORT_1->BSRR = ((((~d >> 12 & 0xF) << 16) | (d >> 12 & 0xF)) << LCD_DATA_PORT_1_BASE);
LCD_DATA_PORT_2->BSRR = ((((~d >> 8 & 0xF) << 16) | (d >> 8 & 0xF)) << LCD_DATA_PORT_2_BASE);
LCD_DATA_PORT_3->BSRR = ((((~d >> 4 & 0xF) << 16) | (d >> 4 & 0xF)) << LCD_DATA_PORT_3_BASE);