Commit 4291571
committed
tinyusb: correct SAMD51 serial number extraction
TinyUSB does not match the exported serial numbers of the classic USB
stack.
The current code serializes the 32-bit words backwards, and the byte
nibbles are also backwards serialized.
A SAMD51 is exported like:
EFADAF3113347335020202938343E0FF
while it should read:
13FADAFE5337433139202020FF0E34381 parent 54be8f0 commit 4291571
File tree
1 file changed
+2
-2
lines changed- cores/arduino/Adafruit_TinyUSB_Core
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
0 commit comments