Skip to content

Commit 5d0dc21

Browse files
committed
Use external unique ID.
Signed-off-by: Pol Henarejos <[email protected]>
1 parent a674410 commit 5d0dc21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hsm/sc_hsm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ int parse_token_info(const file_t *f, int mode) {
301301
*p++ = 0; //set later
302302
*p++ = 0x2; *p++ = 1; *p++ = HSM_VERSION_MAJOR;
303303
#ifndef ENABLE_EMULATION
304-
*p++ = 0x4; *p++ = 8; pico_get_unique_board_id((pico_unique_board_id_t *) p); p += 8;
304+
*p++ = 0x4; *p++ = 8; memcpy(p, pico_serial.id, 8); p += 8;
305305
#else
306306
*p++ = 0x4; *p++ = 8; memset(p, 0, 8); p += 8;
307307
#endif

0 commit comments

Comments
 (0)