OPC-UA: cosmetic fix and armless typo
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Mon, 17 Jan 2022 15:15:00 +0100
changeset 3406 3aac4241dafa
parent 3404 6f5cd8d5dc11
child 3407 2f5c30054d50
OPC-UA: cosmetic fix and armless typo
opc_ua/opcua_client_maker.py
--- a/opc_ua/opcua_client_maker.py	Sun Jan 16 16:59:40 2022 +0100
+++ b/opc_ua/opcua_client_maker.py	Mon Jan 17 15:15:00 2022 +0100
@@ -29,7 +29,7 @@
 UA_NODE_ID_types = {
     "int"   : ("UA_NODEID_NUMERIC", "{}"  ),
     "str"   : ("UA_NODEID_STRING" , '"{}"'),
-    "UUIS"  : ("UA_NODEID_UUID"   , '"{}"'),
+    "UUID"  : ("UA_NODEID_UUID"   , '"{}"'),
 }
 
 lstcolnames  = [  "Name", "NSIdx", "IdType", "Id", "Type", "IEC"]
@@ -501,7 +501,7 @@
 }
 
 
-#define INIT_READ_VARIANT(ua_type, c_loc_name)                                                          \\
+#define INIT_READ_VARIANT(ua_type, c_loc_name)                                                     \\
     UA_Variant_init(&c_loc_name##_variant);
 
 #define INIT_WRITE_VARIANT(ua_type, ua_type_enum, c_loc_name)       \\