Parcourir la source

Merge pull request #518 from Pro/master

Fixed tutorials
Julius Pfrommer il y a 9 ans
Parent
commit
eaeb7aa33f
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      doc/tutorial_server_variables.rst

+ 2 - 2
doc/tutorial_server_variables.rst

@@ -49,11 +49,11 @@ Adding a variable node to the server that contains a user-defined variable
 
 
 This simple case allows to 'inject' a pre-defined variable into a variable node. The variable is wrapped by a "UA_Variant" before being insterted into the node.
 This simple case allows to 'inject' a pre-defined variable into a variable node. The variable is wrapped by a "UA_Variant" before being insterted into the node.
 
 
-Consider 'examples/server_variable.c' in the repository. The examples are compiled if the Cmake option BUILD_EXAMPLE is turned on.
+Consider 'examples/server_variable.c' in the repository. The examples are compiled if the Cmake option UA_BUILD_EXAMPLE is turned on.
 
 
 Adding a variable node to the server that contains a user-defined callback
 Adding a variable node to the server that contains a user-defined callback
 --------------------------------------------------------------------------
 --------------------------------------------------------------------------
 
 
 The latter case allows to define callback functions that are executed on read or write of the node. In this case an "UA_DataSource" containing the respective callback pointer is intserted into the node.
 The latter case allows to define callback functions that are executed on read or write of the node. In this case an "UA_DataSource" containing the respective callback pointer is intserted into the node.
 
 
-Consider 'examples/server_datasource.c' in the repository. The examples are compiled if the Cmake option BUILD_EXAMPLE is turned on.
+Consider 'examples/server_datasource.c' in the repository. The examples are compiled if the Cmake option UA_BUILD_EXAMPLE is turned on.