diff --git a/src/nt.cpp b/src/nt.cpp index 18ed33a..c53a497 100644 --- a/src/nt.cpp +++ b/src/nt.cpp @@ -41,6 +41,14 @@ TypeDef NTScalar::build() const String("units"), }), }; + } else if(display && !isnumeric) { + def += { + Struct("display", { + String("description"), + //String("format"), + String("units"), + }), + }; } if(control && isnumeric) {