Commit bb557a46 authored by Ivan Tyagov's avatar Ivan Tyagov

Cleanup.

parent 25c3975c
...@@ -228,14 +228,15 @@ int main(int argc, char **argv) ...@@ -228,14 +228,15 @@ int main(int argc, char **argv)
#endif #endif
// enable keep-alive // enable keep-alive
UA_Float defaultFloat = 0; //UA_Float defaultFloat = 0;
UA_Double defaultDouble = 0; //UA_Double defaultDouble = 0;
UA_Int64 defaultInt64 = 0;
const PublishedVariable publishedVariableArray[] = { const PublishedVariable publishedVariableArray[] = {
{ {
.name = "heart_beat", .name = "heart_beat",
.description = "Heart beat", .description = "Heart beat",
.pdefaultValue = &defaultDouble, .pdefaultValue = &defaultInt64,
.type = UA_TYPES[UA_TYPES_DOUBLE], .type = UA_TYPES[UA_TYPES_INT64],
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment