Commit 4716ffa
committed
fix(flash): Add support for querying hardware version on USB 3.0 ports
As noted in the linked commit (coming from pybricks/pybricksdev#98),
the hardware version can still be read even when the brick is plugged
into a USB 3.0 port.
Unforunately, the CRC packets likely cannot be salvaged this way -
the CRC request is longer than the CRC response and so the CRC value
is overwritten inside the brick.1 parent 5ceca38 commit 4716ffa
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | | - | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments