# HG changeset patch # User Mychaela Falconia # Date 1613167832 0 # Node ID 8cb269f5a902dddc5c0c24d3a42d9892c1424534 # Parent 4c240a37e7c4ae9d6a67475bd057b87536c04c30 fc-simtool smsp-restore: forgot to set parameter indicator bits diff -r 4c240a37e7c4 -r 8cb269f5a902 simtool/smsp_restore.c --- a/simtool/smsp_restore.c Fri Feb 12 22:05:38 2021 +0000 +++ b/simtool/smsp_restore.c Fri Feb 12 22:10:32 2021 +0000 @@ -148,6 +148,7 @@ return(-1); } fixp[25] = strtoul(cp, 0, 0); + fixp[0] &= 0xFB; while (*cp && !isspace(*cp)) cp++; while (isspace(*cp)) @@ -162,6 +163,7 @@ return(-1); } fixp[26] = strtoul(cp, 0, 0); + fixp[0] &= 0xF7; while (*cp && !isspace(*cp)) cp++; while (isspace(*cp)) @@ -176,6 +178,7 @@ return(-1); } fixp[27] = strtoul(cp, 0, 0); + fixp[0] &= 0xEF; while (*cp && !isspace(*cp)) cp++; while (isspace(*cp))