mirror of
https://github.com/marqs85/ossc.git
synced 2024-12-31 22:31:25 +00:00
Fix profile import
This commit is contained in:
parent
9c5e7b5b83
commit
124bcc8df8
@ -2687,7 +2687,7 @@
|
|||||||
:040A7E00656564E561
|
:040A7E00656564E561
|
||||||
:040A7F001206C66332
|
:040A7F001206C66332
|
||||||
:040A800000017637C4
|
:040A800000017637C4
|
||||||
:040A810005700713E2
|
:040A810005800713D2
|
||||||
:040A82000613468190
|
:040A82000613468190
|
||||||
:040A830045C5DA0685
|
:040A830045C5DA0685
|
||||||
:040A8400FD05051354
|
:040A8400FD05051354
|
||||||
@ -3330,7 +3330,7 @@
|
|||||||
:040D01002503545022
|
:040D01002503545022
|
||||||
:040D02007637EAC492
|
:040D02007637EAC492
|
||||||
:040D030007130001D1
|
:040D030007130001D1
|
||||||
:040D040046810570AF
|
:040D0400468105809F
|
||||||
:040D0500FF8606134C
|
:040D0500FF8606134C
|
||||||
:040D0600051345C1CB
|
:040D0600051345C1CB
|
||||||
:040D070020EF0905CB
|
:040D070020EF0905CB
|
||||||
@ -4578,8 +4578,8 @@
|
|||||||
:0411E1002483104112
|
:0411E1002483104112
|
||||||
:0411E20001131001E4
|
:0411E20001131001E4
|
||||||
:0411E300808210C135
|
:0411E300808210C135
|
||||||
:0411E40087936795F1
|
:0411E40087936799ED
|
||||||
:0411E5001423600768
|
:0411E5001423800748
|
||||||
:0411E60007B700F156
|
:0411E60007B700F156
|
||||||
:0411E7008793047C6A
|
:0411E7008793047C6A
|
||||||
:0411E800CC3E04678E
|
:0411E800CC3E04678E
|
||||||
@ -4703,7 +4703,7 @@
|
|||||||
:04125E009363018114
|
:04125E009363018114
|
||||||
:04125F0046830E04B0
|
:04125F0046830E04B0
|
||||||
:0412600007130191DE
|
:0412600007130191DE
|
||||||
:041261009D63056024
|
:041261009D63058004
|
||||||
:0412620056830CE6BD
|
:0412620056830CE6BD
|
||||||
:0412630007130281EA
|
:0412630007130281EA
|
||||||
:0412640096E30460A9
|
:0412640096E30460A9
|
||||||
@ -4822,7 +4822,7 @@
|
|||||||
:0412D50001014703C9
|
:0412D50001014703C9
|
||||||
:0412D6004683EF1547
|
:0412D6004683EF1547
|
||||||
:0412D70007130111E7
|
:0412D70007130111E7
|
||||||
:0412D80099630570A1
|
:0412D8009963058091
|
||||||
:0412D900468302E660
|
:0412D900468302E660
|
||||||
:0412DA0047050121A2
|
:0412DA0047050121A2
|
||||||
:0412DB0002D764636F
|
:0412DB0002D764636F
|
||||||
|
@ -24,10 +24,10 @@
|
|||||||
#include "sysconfig.h"
|
#include "sysconfig.h"
|
||||||
|
|
||||||
#define FW_VER_MAJOR 0
|
#define FW_VER_MAJOR 0
|
||||||
#define FW_VER_MINOR 87
|
#define FW_VER_MINOR 88
|
||||||
|
|
||||||
#define PROFILE_VER_MAJOR 0
|
#define PROFILE_VER_MAJOR 0
|
||||||
#define PROFILE_VER_MINOR 86
|
#define PROFILE_VER_MINOR 88
|
||||||
|
|
||||||
#define INITCFG_VER_MAJOR 0
|
#define INITCFG_VER_MAJOR 0
|
||||||
#define INITCFG_VER_MINOR 85
|
#define INITCFG_VER_MINOR 85
|
||||||
|
@ -282,7 +282,7 @@ int import_userdata()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((header.version_major != FW_VER_MAJOR) || (header.version_minor != FW_VER_MINOR)) {
|
if ((header.version_major != PROFILE_VER_MAJOR) || (header.version_minor != PROFILE_VER_MINOR)) {
|
||||||
printf("Data version %u.%u does not match fw\n", header.version_major, header.version_minor);
|
printf("Data version %u.%u does not match fw\n", header.version_major, header.version_minor);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user