From 56e1c19892a1fb982605ed3d1910f6eff67585ba Mon Sep 17 00:00:00 2001 From: Jerzy Jamroz Date: Fri, 23 Aug 2024 09:09:16 +0200 Subject: [PATCH] fix: lutX changed to lut_ to avoid the collisions. --- mrfCommon/src/devlutstring.cpp | 4 ++-- testApp/lut.db | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mrfCommon/src/devlutstring.cpp b/mrfCommon/src/devlutstring.cpp index e5a2102a..b8fa4452 100644 --- a/mrfCommon/src/devlutstring.cpp +++ b/mrfCommon/src/devlutstring.cpp @@ -10,7 +10,7 @@ * info(lut0, " 0 = zero") * info(lut1, " 1 = one") * info(lut2, " 3 = three") - * info(lutX, "unknown") + * info(lut_, "unknown") */ #include @@ -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 -> \"%s\"\n", prec->name, priv->unknown.c_str()); diff --git a/testApp/lut.db b/testApp/lut.db index 58e94b93..ec9603a3 100644 --- a/testApp/lut.db +++ b/testApp/lut.db @@ -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")