NTScalar w/ string still has description/units

This commit is contained in:
Michael Davidsaver
2020-02-05 16:44:31 -08:00
parent 6f584f8299
commit 6c9b0b8800
+8
View File
@@ -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) {