fix: 1
This commit is contained in:
parent
c388d08fd1
commit
d71f64899d
|
@ -191,13 +191,15 @@ int write_targeted_file(int version_number, char *version_hash, char sta)
|
|||
}
|
||||
fprintf(fp, "\"");
|
||||
fprintf(fp, "\n");
|
||||
fprintf(fp, "#define FIRMWARE_VER_MULTI \"%c\"\n", sta);
|
||||
|
||||
if (sta == '\0')
|
||||
{
|
||||
fprintf(fp, "#define FIRMWARE_VER_MULTI \"\"\n");
|
||||
fprintf(fp, "#define FIRMWARE_BUILD_INFO \"r\"FIRMWARE_VER_REV_STR\"-\"FIRMWARE_VER_HASH_STR\" \"FIRMWARE_TARGET_STR\" \"\" built on \"__DATE__\" \"__TIME__\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
fprintf(fp, "#define FIRMWARE_VER_MULTI \"%c\"\n", sta);
|
||||
fprintf(fp, "#define FIRMWARE_BUILD_INFO \"r\"FIRMWARE_VER_REV_STR\"-\"FIRMWARE_VER_HASH_STR\"-\"FIRMWARE_VER_MULTI\" \"FIRMWARE_TARGET_STR\" \"\" built on \"__DATE__\" \"__TIME__\n");
|
||||
}
|
||||
fprintf(fp, "#define FIRMWARE_SUBMODULE_REV \\\n");
|
||||
|
|
Binary file not shown.
|
@ -15,8 +15,8 @@
|
|||
#else
|
||||
#define FIRMWARE_TARGET_STR "release"
|
||||
#endif
|
||||
#define FIRMWARE_VER_REV 3
|
||||
#define FIRMWARE_VER_REV_STR "3"
|
||||
#define FIRMWARE_VER_REV 4
|
||||
#define FIRMWARE_VER_REV_STR "4"
|
||||
#define FIRMWARE_VER_HASH_STR "698c62f0"
|
||||
#define FIRMWARE_VER_MULTI "M"
|
||||
#define FIRMWARE_BUILD_INFO "r"FIRMWARE_VER_REV_STR"-"FIRMWARE_VER_HASH_STR"-"FIRMWARE_VER_MULTI" "FIRMWARE_TARGET_STR" "" built on "__DATE__" "__TIME__
|
||||
|
|
Loading…
Reference in New Issue