Explorar o código

adjust line-length of example (one last time)

Julius Pfrommer %!s(int64=10) %!d(string=hai) anos
pai
achega
e4a17a343f
Modificáronse 1 ficheiros con 6 adicións e 8 borrados
  1. 6 8
      README.md

+ 6 - 8
README.md

@@ -56,14 +56,12 @@ int main(int argc, char** argv) {
     UA_String myIntegerName;
     UA_STRING_STATIC(myIntegerName, "The Answer");
     UA_Server_addScalarVariableNode(server,
-                                    /* browse name, the value and the datatype's vtable */
-                                    &myIntegerName, (void*)&myInteger, &UA_TYPES[UA_INT32],
-
-                                    /* the parent node where the variable shall be attached */
-                                    &UA_NODEIDS[UA_OBJECTSFOLDER],
-                                    
-                                    /* the (hierarchical) referencetype from the parent */
-                                    &UA_NODEIDS[UA_HASCOMPONENT]);
+                 /* browse name, the value and the datatype's vtable */
+                 &myIntegerName, (void*)&myInteger, &UA_TYPES[UA_INT32],
+                 /* the parent node where the variable shall be attached */
+                 &UA_NODEIDS[UA_OBJECTSFOLDER],
+                 /* the (hierarchical) referencetype from the parent */
+                 &UA_NODEIDS[UA_HASCOMPONENT]);
 
     /* attach a network layer */
 	NetworklayerTCP* nl = NetworklayerTCP_new(UA_ConnectionConfig_standard, PORT);