[BSP] fix compiling warning in QEMU vexpress-a9

This commit is contained in:
Bernard Xiong 2017-12-23 23:56:18 +08:00
parent f7a8d6eb16
commit a5664695d3
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ int drv_clcd_hw_init(void)
plio->tim0 = 0x3F1F3C00 | ((CLCD_WIDTH/16 - 1) << 2); plio->tim0 = 0x3F1F3C00 | ((CLCD_WIDTH/16 - 1) << 2);
plio->tim1 = 0x080B6000 | (CLCD_HEIGHT - 1); plio->tim1 = 0x080B6000 | (CLCD_HEIGHT - 1);
plio->upbase = _lcd.fb; plio->upbase = (uint32_t)_lcd.fb;
/* 16-bit 565 color */ /* 16-bit 565 color */
plio->control = 0x1921 | (0x6 << 1); plio->control = 0x1921 | (0x6 << 1);