Skip to content

Commit

Permalink
boards/stm32f429i-disc1: fix touch screen axis
Browse files Browse the repository at this point in the history
This patch fixes a missmatch between the LCD and touch drivers'
coordinate systems.
  • Loading branch information
Enoch247 committed Nov 20, 2024
1 parent d10ab41 commit 05bc405
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions boards/stm32f429i-disc1/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ extern "C" {
#define L3GXXXX_INT2_PIN GPIO_PIN(PORT_A, 2) /**< INT2/DRDY pin used for L3Gxxxx */
/** @} */

/**
* @brief stmpe811 driver parameters
* @{
*/
#define STMPE811_PARAM_XYCONV (STMPE811_MIRROR_Y | STMPE811_SWAP_XY)
/** @} */

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 05bc405

Please # to comment.