hos: Change warmboot storage numbering from dec to hex

This commit is contained in:
CTCaer 2020-12-02 02:14:06 +02:00
parent 2aa1ce5390
commit 7bebec1304

View file

@ -321,10 +321,10 @@ static void _warmboot_filename(char *out, u32 fuses)
if (fuses < 16) if (fuses < 16)
{ {
out[19] = '0'; out[19] = '0';
itoa(fuses, &out[19 + 1], 10); itoa(fuses, &out[19 + 1], 16);
} }
else else
itoa(fuses, &out[19], 10); itoa(fuses, &out[19], 16);
strcat(out, ".bin"); strcat(out, ".bin");
} }