Commit 23fd362
committed
USBCore: Read the SAMD51 serial number
Export the unique hardware serial number from the SAMD51 MCU
to the USB device descriptor.
Remove the concatenation of the USB class device string, it is
superfluous, and an USB interface property should not become a
part of the USB device property.
Tested on SAMD21 and SAMD51:
Before:
SAMD21: 10BD8E4051504C3750202020FF0B1410MIDI
SAMD51: MIDI
After:
SAMD21: 10BD8E4051504C3750202020FF0B1410
SAMD51: AAFC165853574E514D202020FF083C441 parent 5c60a5a commit 23fd362
1 file changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
256 | 257 | | |
257 | | - | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
263 | | - | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | | - | |
267 | 266 | | |
268 | 267 | | |
269 | 268 | | |
| |||
0 commit comments