Skip to content

Commit

Permalink
fix: lutX changed to lut_ to avoid the collisions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzyjamroz committed Aug 26, 2024
1 parent beb4c64 commit 56e1c19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mrfCommon/src/devlutstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* info(lut0, " 0 = zero")
* info(lut1, " 1 = one")
* info(lut2, " 3 = three")
* info(lutX, "unknown")
* info(lut_, "unknown")
*/

#include <stdexcept>
Expand Down Expand Up @@ -87,7 +87,7 @@ long init_record_lut(stringinRecord *prec)

std::string line(dbGetInfoString(&entry.entry));

if(strcmp(name, "lutX")==0) {
if(strcmp(name, "lut_")==0) {
priv->unknown = strip(line);
if(prec->tpro>1)
printf("%s : LUT <fallback> -> \"%s\"\n", prec->name, priv->unknown.c_str());
Expand Down
2 changes: 1 addition & 1 deletion testApp/lut.db
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ record(longout, "input") {
record(stringin, "output") {
field(DTYP, "LUT uint32 -> string")
field(INP , "input NPP MSI")
info(lutX , "unknown")
info(lut_ , "unknown")
info(lut0 , " 0 = zero")
info(lut1 , " 0x5 = five")
field(TPRO, "2")
Expand Down

0 comments on commit 56e1c19

Please sign in to comment.