Fix wrong expression of device ID in getMcuUniqueID()
This commit is contained in:
1 parent
e01ac26d20
commit
979a68dbd2
1 file changed
+1
-1
@@ -93,7 +93,7 @@ const char* getMcuUniqueID(void)
|
||||
// Skip if already created
|
||||
if ( serial_str[0] == 0 )
|
||||
{
|
||||
sprintf(serial_str, "%08lu%08lu", NRF_FICR->DEVICEID[1], NRF_FICR->DEVICEID[0]);
|
||||
sprintf(serial_str, "%08lX%08lX", NRF_FICR->DEVICEID[1], NRF_FICR->DEVICEID[0]);
|
||||
}
|
||||
|
||||
return serial_str;
|
||||
|
||||
Reference in new issue
Block a user