doc: dts: property deletion example fix
Improve the text and delete an unnecessary comment. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
cce9d19ca8
commit
fc40757441
1 changed files with 2 additions and 3 deletions
|
@ -254,12 +254,11 @@ Chosen nodes work the same way. For example:
|
|||
};
|
||||
};
|
||||
|
||||
To delete a property (this is how you override a true boolean property to a
|
||||
false value):
|
||||
To delete a property (in addition to deleting properties in general, this is
|
||||
how to set a boolean property to false if it's true in BOARD.dts):
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
/* Option 1 */
|
||||
&serial0 {
|
||||
/delete-property/ some-unwanted-property;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue