Quellcode durchsuchen

adjust line-length of example (one last time)

Julius Pfrommer vor 10 Jahren
Ursprung
Commit
e4a17a343f
1 geänderte Dateien mit 6 neuen und 8 gelöschten Zeilen
  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);