From 24f3654e2f7d120973599bd169850f95f31773e7 Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Sun, 24 Apr 2022 15:12:03 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- en/device-dev/driver/driver-hdf-manage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/device-dev/driver/driver-hdf-manage.md b/en/device-dev/driver/driver-hdf-manage.md index e8aa659859..7999ee47fc 100644 --- a/en/device-dev/driver/driver-hdf-manage.md +++ b/en/device-dev/driver/driver-hdf-manage.md @@ -170,7 +170,7 @@ You can reference the content of a node to modify the content of another node. T node :& source_node ``` -In this statement, the content of **node** is referenced to modify the content of **source_node**. + In this statement, the content of **node** is referenced to modify the content of **source_node**. Example: @@ -328,7 +328,7 @@ node2 { } ``` -Or +or ``` @@ -345,7 +345,7 @@ node2 { The template is used to generate nodes with consistent syntax, thereby facilitating the traverse and management of nodes of the same type. -If a node is defined using the keyword **template**, its child nodes inherit from the node configuration through the double colon operator (::). The child nodes can modify but cannot add or delete attributes in **template**. The attributes not defined in the child nodes will use the attributes defined in **template** as the default values. +If a node is defined using the keyword **template**, its child nodes inherit from the node configuration through the double colon operator (::). The child nodes can modify or add but cannot delete attributes in **template**. The attributes not defined in the child nodes will use the attributes defined in **template** as the default values. Example: -- GitLab