From 7a66e63849f43aae17fb256afadc475ffc578945 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Thu, 3 Jan 2013 18:06:48 +0100 Subject: [PATCH] cleanup --- drivers/gdisp/ILI9325/gdisp_lld.c | 12 ------------ .../gdisp/ILI9325/gdisp_lld_board_hy_stm32_100p.h | 2 +- drivers/gdisp/ILI9325/gdisp_lld_config.h | 12 ------------ 3 files changed, 1 insertion(+), 25 deletions(-) diff --git a/drivers/gdisp/ILI9325/gdisp_lld.c b/drivers/gdisp/ILI9325/gdisp_lld.c index 58a9f84b..42b03d74 100644 --- a/drivers/gdisp/ILI9325/gdisp_lld.c +++ b/drivers/gdisp/ILI9325/gdisp_lld.c @@ -18,18 +18,6 @@ along with this program. If not, see . */ -/* - driver quickly hacked together from a chinese sourcecode that came - with the board and existing ili9320 code by Chris van Dongen (sjaak) - (sjaak2002 at msn.com) - - Also added rotation for 180 and 270 degrees and minor tweaks to - setcursor - - Added code comes without warranty and free bugs. Feel free to use - or misuse the added code :D -*/ - /** * @file drivers/gdisp/ILI9325/gdisp_lld.c * @brief GDISP Graphics Driver subsystem low level driver source for the ILI9325 display. diff --git a/drivers/gdisp/ILI9325/gdisp_lld_board_hy_stm32_100p.h b/drivers/gdisp/ILI9325/gdisp_lld_board_hy_stm32_100p.h index faa5854a..e785ad10 100644 --- a/drivers/gdisp/ILI9325/gdisp_lld_board_hy_stm32_100p.h +++ b/drivers/gdisp/ILI9325/gdisp_lld_board_hy_stm32_100p.h @@ -50,7 +50,7 @@ static __inline void GDISP_LLD(init_board)(void) { rccEnableAHB(RCC_AHBENR_FSMCEN, 0); /* set pin modes */ -/* IOBus busD = {GPIOD, PAL_WHOLE_PORT, 0}; +/* IOBus busD = {GPIOD, PAL_WHOLE_PORT, 0}; IOBus busE = {GPIOE, PAL_WHOLE_PORT, 0}; palSetBusMode(&busD, PAL_MODE_STM32_ALTERNATE_PUSHPULL); palSetBusMode(&busE, PAL_MODE_STM32_ALTERNATE_PUSHPULL); diff --git a/drivers/gdisp/ILI9325/gdisp_lld_config.h b/drivers/gdisp/ILI9325/gdisp_lld_config.h index c47da0ca..44f8323f 100644 --- a/drivers/gdisp/ILI9325/gdisp_lld_config.h +++ b/drivers/gdisp/ILI9325/gdisp_lld_config.h @@ -18,18 +18,6 @@ along with this program. If not, see . */ -/* - driver quickly hacked together from a chinese sourcecode that came - with the board and existing ili9320 code by Chris van Dongen (Sjaak) - (sjaak2002 at msn.com) - - Also added rotation for 180 and 270 degrees and minor tweaks to - setcursor - - Added code comes without warranty and free bugs. Feel free to use - or misuse the added code :D -*/ - /** * @file drivers/gdisp/ILI9325/gdisp_lld_config.h * @brief GDISP Graphic Driver subsystem low level driver header for the ILI9325 display.