| 
 | 
 
发表于 2023-4-3 14:54:03
 1654 浏览  0 回复
                                 
 
 
UIS7862S uboot阶段如何调整lcd背光默认值?
                                
 
[QUESTION] 
        uboot阶段如何调整lcd背光默认值?  
 
[ANSWER] 
        uboot阶段如何调整lcd背光默认值? 
 
/u-boot15/include/boot_mode.h 
#define BACKLIGHT_ON 150 // 默认亮度值 
- u-boot15/common/loader/boot_mode.c
 
 -  void normal_mode(void)
 
 -  {
 
 -  #ifndef CONFIG_ZEBU
 
 -      vibrator_hw_init();
 
 -       set_vibrator(1);
 
 -       vlx_nand_boot(BOOT_PART, BACKLIGHT_ON, LCD_ON); // BACKLIGHT_ON 设置默认亮度
 
 -  #else
 
 -       vlx_nand_boot_zebu(BOOT_PART, BACKLIGHT_ON, LCD_ON);
 
 -  #endif
 
 - return;
 
  复制代码 
 
 
 
 
 
 |   
 
 
 
 |  
| 
 手机微信同号:13682654092 
 | 
 
 
 | 
 | 
 
| 
 | 
 | 
 
 
 
	
登录或注册 
 |