1. Modify the file indention
2. Modify the license head
This commit is contained in:
parent
c0947d443a
commit
4b035622ce
@ -141,7 +141,7 @@ static void LcdBkLtSet(rt_uint32_t HiRatio)
|
||||
#define FREQ_PWM1 1000
|
||||
if(!HiRatio)
|
||||
{
|
||||
GPBCON = GPBCON & (~(3<<2)) | (1<<2) ; //GPB1设置为output
|
||||
GPBCON = GPBCON & (~(3<<2)) | (1<<2) ;
|
||||
GPBDAT &= ~(1<<1);
|
||||
return;
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ static void LcdBkLtSet(rt_uint32_t HiRatio)
|
||||
#define FREQ_PWM1 1000
|
||||
if(!HiRatio)
|
||||
{
|
||||
GPBCON = GPBCON & (~(3<<2)) | (1<<2) ; //GPB1设置为output
|
||||
GPBCON = GPBCON & (~(3<<2)) | (1<<2) ;
|
||||
GPBDAT &= ~(1<<1);
|
||||
return;
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ static void LcdBkLtSet(rt_uint32_t HiRatio)
|
||||
#define FREQ_PWM1 1000
|
||||
if(!HiRatio)
|
||||
{
|
||||
GPBCON = GPBCON & (~(3<<2)) | (1<<2) ; //GPB1设置为output
|
||||
GPBCON = GPBCON & (~(3<<2)) | (1<<2) ;
|
||||
GPBDAT &= ~(1<<1);
|
||||
return;
|
||||
}
|
||||
|
@ -1,17 +1,12 @@
|
||||
/*
|
||||
* File : lcd_t43.c
|
||||
* This file is part of RT-Thread RTOS
|
||||
* COPYRIGHT (C) 2010, RT-Thread Develop Team
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rt-thread.org/license/LICENSE
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2020-04-12 Jonne first version from 4.3 inch lcd(480x272)
|
||||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
#include <s3c24x0.h>
|
||||
|
||||
|
@ -144,7 +144,7 @@ static void LcdBkLtSet(rt_uint32_t HiRatio)
|
||||
#define FREQ_PWM1 1000
|
||||
if(!HiRatio)
|
||||
{
|
||||
GPBCON = GPBCON & (~(3<<2)) | (1<<2) ; //GPB1设置为output
|
||||
GPBCON = GPBCON & (~(3<<2)) | (1<<2) ;
|
||||
GPBDAT &= ~(1<<1);
|
||||
return;
|
||||
}
|
||||
|
@ -1,17 +1,12 @@
|
||||
/*
|
||||
* File : s3cmci.c
|
||||
* This file is part of RT-Thread RTOS
|
||||
* COPYRIGHT (C) 2010, RT-Thread Develop Team
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rt-thread.org/license/LICENSE
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2020-04-15 Jonne first version for s3c2440 mmc controller
|
||||
*/
|
||||
|
||||
#include <rthw.h>
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user