mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 00:31:32 +02:00
revert the jzlcd.h configure to fit the patch file.
remove 51-fb.patch. we have 051-fb.patch. Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
parent
35fedaa9e4
commit
3aa5222095
@ -656,13 +656,14 @@ do { \
|
|||||||
/*#if defined(CONFIG_JZ4740_LEO) || defined(CONFIG_JZ4740_PAVO)*/
|
/*#if defined(CONFIG_JZ4740_LEO) || defined(CONFIG_JZ4740_PAVO)*/
|
||||||
#if defined(CONFIG_SOC_JZ4740)
|
#if defined(CONFIG_SOC_JZ4740)
|
||||||
#if defined(CONFIG_JZ4740_PAVO) || defined(CONFIG_JZ4740_LYRA)
|
#if defined(CONFIG_JZ4740_PAVO) || defined(CONFIG_JZ4740_LYRA)
|
||||||
|
#define GPIO_PWM 123 /* GP_D27 */
|
||||||
#define PWM_CHN 4 /* pwm channel */
|
#define PWM_CHN 4 /* pwm channel */
|
||||||
#define PWM_FULL 101
|
#define PWM_FULL 101
|
||||||
/* 100 level: 0,1,...,100 */
|
/* 100 level: 0,1,...,100 */
|
||||||
#define __lcd_set_backlight_level(n)\
|
#define __lcd_set_backlight_level(n)\
|
||||||
do { \
|
do { \
|
||||||
__gpio_as_output(GPIO_PWM); \
|
__gpio_as_output(32*3+27); \
|
||||||
__gpio_set_pin(GPIO_PWM); \
|
__gpio_set_pin(32*3+27); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define __lcd_close_backlight() \
|
#define __lcd_close_backlight() \
|
||||||
|
Loading…
Reference in New Issue
Block a user