mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-12 18:25:07 +08:00
chg: unifed the dateformat
This commit is contained in:
parent
63b47a003e
commit
7fc5fe6dd5
1 changed files with 2 additions and 0 deletions
|
@ -337,6 +337,8 @@ static int FpgaGatherVersion(FILE *infile, char *infile_name, char *dst, int len
|
|||
for (uint16_t i = 0; i < fpga_info_len; i++) {
|
||||
char c = (char)fgetc(infile);
|
||||
if (i < sizeof(tempstr)) {
|
||||
if ( c == '/' ) c = '-';
|
||||
if ( c == ' ' ) c = '0';
|
||||
tempstr[i] = c;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue