Adding correct display parameters

This commit is contained in:
Joel Bodenmann 2015-07-08 23:55:02 +02:00
parent 732bccb57a
commit 926c8e507b
2 changed files with 7 additions and 7 deletions

View File

@ -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
};

View File

@ -10,9 +10,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)