Skip to content

Commit

Permalink
scripts: dts: edtlib: fix type docs
Browse files Browse the repository at this point in the history
The return type of 'uint8-array' properties was not yet documented.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
  • Loading branch information
fgrandel committed Sep 27, 2024
1 parent 5c539f3 commit 688a245
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/dts/python-devicetree/src/devicetree/edtlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,8 @@ class Property:
- For 'type: int/array/string/string-array', 'val' is what you'd expect
(a Python integer or string, or a list of them)
- For 'type: uint8-array', 'val' is a bytes object
- For 'type: phandle' and 'type: path', 'val' is the pointed-to Node
instance
Expand Down

0 comments on commit 688a245

Please sign in to comment.