From 8c3f23f606e9553b84e21f52ab9b2eea883f4ecf Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 24 Jun 2013 23:52:13 +0200 Subject: quick board file fix --- drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h b/drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h index f8381b65..5c67ecd5 100644 --- a/drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h +++ b/drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h @@ -30,7 +30,7 @@ static const I2CConfig i2ccfg2 = { * @notapi */ static void init_board(void) { - i2cStart(&I2CD2, &i2ccfg2); + } -- cgit v1.2.3 From d3d561535b5a170989cac86b90831002d1bfe73d Mon Sep 17 00:00:00 2001 From: Mateusz Tomaszkiewicz Date: Wed, 26 Jun 2013 00:47:13 +0200 Subject: gdisp: fixed bug in line drawing function There was a problem when you drew a line from (x0,y0) to (x1,y1) and these points met following conditions: y0 = y1 and x0 > x1. The viewport was set incorrectly to start from (x0,y1) when it should start from (x1,y0) since x1 is lower in this case. (x1,y1) would be also OK since y0 = y1. --- include/gdisp/lld/emulation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gdisp/lld/emulation.c b/include/gdisp/lld/emulation.c index c64f8259..49a26697 100644 --- a/include/gdisp/lld/emulation.c +++ b/include/gdisp/lld/emulation.c @@ -54,7 +54,7 @@ GDISPDriver GDISP; if (x1 > x0) gdisp_lld_fill_area(x0, y0, x1-x0+1, 1, color); else - gdisp_lld_fill_area(x0, y1, x0-x1+1, 1, color); + gdisp_lld_fill_area(x1, y0, x0-x1+1, 1, color); return; } #endif -- cgit v1.2.3 From d45bba45e178940015eb31dc93e97eba9aebc93e Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 28 Jun 2013 17:50:45 +0200 Subject: doxygen fix --- drivers/ginput/touch/FT5x06/ft5x06.h | 2 +- drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ginput/touch/FT5x06/ft5x06.h b/drivers/ginput/touch/FT5x06/ft5x06.h index e0d212ce..2442606e 100644 --- a/drivers/ginput/touch/FT5x06/ft5x06.h +++ b/drivers/ginput/touch/FT5x06/ft5x06.h @@ -6,7 +6,7 @@ */ /** - * @file drivers/ginput/touch/FT5x06/ft5x05.h + * @file drivers/ginput/touch/FT5x06/ft5x06.h * @brief Register definition header for the STMPE811 touch controller. * * @addtogroup GINPUT diff --git a/drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h b/drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h index 5c67ecd5..06b408dd 100644 --- a/drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h +++ b/drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h @@ -6,7 +6,7 @@ */ /** - * @file drivers/ginput/touch/FT5x06/ginput_lld_mouse_board_.h + * @file drivers/ginput/touch/FT5x06/ginput_lld_mouse_board.h * @brief GINPUT Touch low level driver source for the FT5x06. * * @defgroup Mouse Mouse -- cgit v1.2.3