diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-07-08 23:55:02 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-07-08 23:55:02 +0200 |
commit | 926c8e507b7611e5bf182942872f770b22a5c7bd (patch) | |
tree | 35c0935ecaa7f6164a708f38938b0dadce0770a1 /boards/base/STM32F746-Discovery | |
parent | 732bccb57a0ea4e40eab157d9cf6fd88d2ff0d4c (diff) | |
download | uGFX-926c8e507b7611e5bf182942872f770b22a5c7bd.tar.gz uGFX-926c8e507b7611e5bf182942872f770b22a5c7bd.tar.bz2 uGFX-926c8e507b7611e5bf182942872f770b22a5c7bd.zip |
Adding correct display parameters
Diffstat (limited to 'boards/base/STM32F746-Discovery')
-rw-r--r-- | boards/base/STM32F746-Discovery/board_STM32F746Discovery.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/base/STM32F746-Discovery/board_STM32F746Discovery.h b/boards/base/STM32F746-Discovery/board_STM32F746Discovery.h index c06d06c6..735cdbdb 100644 --- a/boards/base/STM32F746-Discovery/board_STM32F746Discovery.h +++ b/boards/base/STM32F746-Discovery/board_STM32F746Discovery.h @@ -14,9 +14,9 @@ static const ltdcConfig driverCfg = { 480, 270, // Width, Height (pixels) - 10, 2, // Horizontal, Vertical sync (pixels) - 20, 2, // Horizontal, Vertical back porch (pixels) - 10, 4, // Horizontal, Vertical front porch (pixels) + 41, 10, // Horizontal, Vertical sync (pixels) + 13, 2, // Horizontal, Vertical back porch (pixels) + 32, 2, // Horizontal, Vertical front porch (pixels) 0, // Sync flags 0x000000, // Clear color (RGB888) @@ -35,7 +35,7 @@ static const ltdcConfig driverCfg = { 0xFF, // Constant alpha factor LTDC_LEF_ENABLE // Layer configuration flags }, - + LTDC_UNUSED_LAYER_CONFIG // Foreground layer config }; |