Skip to content

Commit 8ab54c3

Browse files
ttnwosayBernardXiong
authored andcommitted
Correct coding-style format.
1 parent e8f4208 commit 8ab54c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bsp/nuvoton/libraries/n9h30/rtt_port/drv_vpost.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ static rt_err_t vpost_layer_control(rt_device_t dev, int cmd, void *args)
190190

191191
case RTGRAPHIC_CTRL_WAIT_VSYNC:
192192
{
193-
if (args != RT_NULL)
194-
g_u32VSyncLastCommit = g_u32VSyncBlank+1;
193+
if (args != RT_NULL)
194+
g_u32VSyncLastCommit = g_u32VSyncBlank + 1;
195195

196196
if (g_u32VSyncLastCommit >= g_u32VSyncBlank)
197197
{
@@ -261,13 +261,13 @@ int rt_hw_vpost_init(void)
261261
VPOST_T *psVpostLcmInst = vpostLCMGetInstance(VPOST_USING_LCD_IDX);
262262
RT_ASSERT(psVpostLcmInst != RT_NULL);
263263

264-
if ( (psVpostLcmInst->u32DevWidth * psVpostLcmInst->u32DevHeight) > (480*272) )
264+
if ((psVpostLcmInst->u32DevWidth * psVpostLcmInst->u32DevHeight) > (480 * 272))
265265
{
266266
/* LCD clock is selected from UPLL and divide to 20MHz */
267267
outpw(REG_CLK_DIVCTL1, (inpw(REG_CLK_DIVCTL1) & ~0xff1f) | 0xE18);
268268

269269
/* LCD clock is selected from UPLL and divide to 30MHz */
270-
//outpw(REG_CLK_DIVCTL1, (inpw(REG_CLK_DIVCTL1) & ~0xff1f) | 0x918);
270+
//outpw(REG_CLK_DIVCTL1, (inpw(REG_CLK_DIVCTL1) & ~0xff1f) | 0x918);
271271
}
272272
else
273273
{

0 commit comments

Comments
 (0)