summaryrefslogtreecommitdiff
path: root/examples/example1
diff options
context:
space:
mode:
authorChristoph Lipka <clipka@de.adit-jv.com>2018-12-20 14:58:19 +0100
committerChristoph Lipka <clipka@de.adit-jv.com>2018-12-21 10:23:41 +0100
commitdca8ab254aa0a687c32009079d85e4d8f960b213 (patch)
treee63b6a552fd9f61873892110a56a89ef354864cd /examples/example1
parent0d0c74640c8b792db37cb9f884f89f7561ea551f (diff)
downloadDLT-daemon-dca8ab254aa0a687c32009079d85e4d8f960b213.tar.gz
Code beautification using uncrustify
Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com>
Diffstat (limited to 'examples/example1')
-rw-r--r--examples/example1/example1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/example1/example1.c b/examples/example1/example1.c
index e6fea9f..2784a82 100644
--- a/examples/example1/example1.c
+++ b/examples/example1/example1.c
@@ -22,7 +22,7 @@
* License MPL-2.0: Mozilla Public License version 2.0 http://mozilla.org/MPL/2.0/.
*
* \file example1.c
-*/
+ */
/*******************************************************************************
@@ -54,15 +54,15 @@ DLT_DECLARE_CONTEXT(con_exa1);
int main()
{
- DLT_REGISTER_APP("EXA1","First Example");
+ DLT_REGISTER_APP("EXA1", "First Example");
- DLT_REGISTER_CONTEXT(con_exa1,"CON","First context");
+ DLT_REGISTER_CONTEXT(con_exa1, "CON", "First context");
- DLT_LOG(con_exa1,DLT_LOG_INFO,DLT_STRING("Hello world!"));
+ DLT_LOG(con_exa1, DLT_LOG_INFO, DLT_STRING("Hello world!"));
usleep(1000);
- DLT_UNREGISTER_CONTEXT(con_exa1);
+ DLT_UNREGISTER_CONTEXT(con_exa1);
- DLT_UNREGISTER_APP();
+ DLT_UNREGISTER_APP();
}