diff options
author | Joel Bodenmann <joel@embedded.pro> | 2016-08-03 14:50:48 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2016-08-03 14:50:48 +0200 |
commit | 91f537c91ca877f03a3634e7de9423fe451ff06a (patch) | |
tree | 378834c8f2cbb6025ec7d05affd20e544d796383 | |
parent | 74cf1509bc3ab0e76af3ed9b1f750374b90cbb86 (diff) | |
download | uGFX-91f537c91ca877f03a3634e7de9423fe451ff06a.tar.gz uGFX-91f537c91ca877f03a3634e7de9423fe451ff06a.tar.bz2 uGFX-91f537c91ca877f03a3634e7de9423fe451ff06a.zip |
STM32F439i-Eval board file cleanup
-rw-r--r-- | boards/base/STM32F439i-Eval/CubeHal/gmouse_lld_EXC7200_board.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/boards/base/STM32F439i-Eval/CubeHal/gmouse_lld_EXC7200_board.h b/boards/base/STM32F439i-Eval/CubeHal/gmouse_lld_EXC7200_board.h index 4f8a18fb..02ca44aa 100644 --- a/boards/base/STM32F439i-Eval/CubeHal/gmouse_lld_EXC7200_board.h +++ b/boards/base/STM32F439i-Eval/CubeHal/gmouse_lld_EXC7200_board.h @@ -14,10 +14,13 @@ #ifndef _GINPUT_LLD_MOUSE_BOARD_H #define _GINPUT_LLD_MOUSE_BOARD_H -#include "stm32f4xx_hal_rcc.h" -#include "stm32f4xx_hal_dma.h" -#include "stm32f4xx_hal_gpio.h" -#include "stm32f4xx_hal_i2c.h" +// Avoid naming collisions with CubeHAL +#undef Red +#undef Green +#undef Blue + +// Include CubeHAL +#include "stm32f4xx_hal.h" // Resolution and Accuracy Settings #define GMOUSE_EXC7200_PEN_CALIBRATE_ERROR 8 |