Skip to content

Commit

Permalink
DT8: clarify why "QUERY ACTUAL LEVEL" is needed
Browse files Browse the repository at this point in the history
I was wondering why the code was sending a seemingly useless command,
but it turns out that this is explicitly mandated by a note in the
standard. Let's put that into a comment.
  • Loading branch information
jktjkt authored and sde1000 committed Aug 2, 2024
1 parent 3cdcdbf commit 95eac0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dali/gear/sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def QueryDT8ColourValue(
"'query' must be a value from QueryColourValueDTR enumerator"
)

# 62386-209, command 250, Note 2: start by sending "QUERY ACTUAL LEVEL"
yield QueryActualLevel(address)
yield DTR0(query.value)
msb = yield QueryColourValue(address)
Expand Down

0 comments on commit 95eac0a

Please sign in to comment.