|
发表于 2020-8-5 19:25:05
6868 浏览 0 回复
MTK6765 开机指示灯状态设置
在lk设置寄存器开启:if((upmu_is_chr_det() == KAL_FALSE)){
mt6370_pmu_led_brightness_set(0,127);
}else{
mt6370_pmu_led_brightness_set(0,0);
//mt6370_pmu_led_brightness_set(0,127);
}
mt6370pmu_rgb.c
再次修改寄存器配置;
可以实现开机亮灯;
|
|
|
|
|
|
|
登录或注册
|