From 05bc4051a3defcd27162ed2de0033f15d5b28407 Mon Sep 17 00:00:00 2001 From: Joshua DeWeese Date: Mon, 18 Nov 2024 21:05:41 -0500 Subject: [PATCH] boards/stm32f429i-disc1: fix touch screen axis This patch fixes a missmatch between the LCD and touch drivers' coordinate systems. --- boards/stm32f429i-disc1/include/board.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/boards/stm32f429i-disc1/include/board.h b/boards/stm32f429i-disc1/include/board.h index 1b24ee8923..3f24d7f6e7 100644 --- a/boards/stm32f429i-disc1/include/board.h +++ b/boards/stm32f429i-disc1/include/board.h @@ -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