未验证 提交 dbc36d86 编写于 作者: O openharmony_ci 提交者: Gitee

!1341 fix: 将battery对led灯的操作切换为使用lights hdi接口

Merge pull request !1341 from yangziyong/master
......@@ -160,12 +160,6 @@ if (defined(ohos_lite)) {
subsystem_name = "startup"
}
ohos_prebuilt_etc("charge.group") {
source = "//base/startup/init/services/etc/device.charge.group.cfg"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("syscap.para") {
source = "${preloader_output_dir}/system/etc/param/syscap.para"
module_install_dir = "etc/param/"
......@@ -224,7 +218,6 @@ if (defined(ohos_lite)) {
group("etc_files") {
deps = [
":boot.group",
":charge.group",
":chipset-sandbox.json",
":console.cfg",
":features.json",
......
{
"jobs": [
"param:sys.usb.config=hdc && param:sys.usb.configfs=1",
"param:sys.usb.ffs.ready=1 && param:sys.usb.config=hdc && param:sys.usb.configfs=1",
"boot && param:persist.sys.usb.config=*",
"param:sys.usb.config=none && param:sys.usb.configfs=0",
"boot && param:const.debuggable=1",
"param:sys.usb.config=none && param:sys.usb.configfs=1",
"load_persist_props_action"
],
"services": [
"ueventd",
"console",
"hdcd",
"charger",
"misc"
],
"groups": [
]
}
\ No newline at end of file
......@@ -44,7 +44,7 @@ int DoJobNow(const char *jobName);
#define INIT_CONFIGURATION_FILE "/etc/init.without_two_stages.cfg"
#endif
#define OTHER_CFG_PATH "/system/etc/init"
#define OTHER_CHARGE_PATH "/system/etc/charge"
#define OTHER_CHARGE_PATH "/vendor/etc/charger"
#define MAX_PATH_ARGS_CNT 20
void ReadConfig(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册