Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/SubSystem.c')
-rw-r--r--examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/SubSystem.c86
1 files changed, 43 insertions, 43 deletions
diff --git a/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/SubSystem.c b/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/SubSystem.c
index 7ce89ce52..b9c769bf0 100644
--- a/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/SubSystem.c
+++ b/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/SubSystem.c
@@ -1,43 +1,43 @@
-/*******************************************************************************
- * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Thomas Schuetz (initial contribution)
- *
- *******************************************************************************/
-
-#include "etLogger.h"
-
-typedef struct SubSystem {
- char *name;
-} SubSystem;
-
-static SubSystem SubSystemInst = {"SubSystem"};
-
-void SubSystem_init(void){
- etLogger_logInfoF("%s_init", SubSystemInst.name);
-}
-
-void SubSystem_start(void){
- etLogger_logInfoF("%s_start", SubSystemInst.name);
-}
-
-void SubSystem_Scheduler(void){
- int32 i;
- for (i=0; i<100; i++){
- etLogger_logInfoF("%s Scheduler tick %d", SubSystemInst.name, i);
- }
-}
-
-void SubSystem_stop(void){
- etLogger_logInfoF("%s_stop", SubSystemInst.name);
-}
-
-void SubSystem_destroy(void){
- etLogger_logInfoF("%s_destroy", SubSystemInst.name);
-}
-
+/*******************************************************************************
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Thomas Schuetz (initial contribution)
+ *
+ *******************************************************************************/
+
+#include "etLogger.h"
+
+typedef struct SubSystem {
+ char *name;
+} SubSystem;
+
+static SubSystem SubSystemInst = {"SubSystem"};
+
+void SubSystem_init(void){
+ etLogger_logInfoF("%s_init", SubSystemInst.name);
+}
+
+void SubSystem_start(void){
+ etLogger_logInfoF("%s_start", SubSystemInst.name);
+}
+
+void SubSystem_Scheduler(void){
+ int32 i;
+ for (i=0; i<100; i++){
+ etLogger_logInfoF("%s Scheduler tick %d", SubSystemInst.name, i);
+ }
+}
+
+void SubSystem_stop(void){
+ etLogger_logInfoF("%s_stop", SubSystemInst.name);
+}
+
+void SubSystem_destroy(void){
+ etLogger_logInfoF("%s_destroy", SubSystemInst.name);
+}
+

Back to the top