Skip to content
Snippets Groups Projects
Commit 4f7963ee authored by Thomas Böhm's avatar Thomas Böhm
Browse files

Fixed include guards in BusExecutable.

parent eb3974b5
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ public class BusExecutable extends TransmissionUnitExecutableBase<TransmissionUn
/** Create Header Files defining structure for sensor. */
private void createSensorHeaderFile(SourcePackage pack) {
String content = "#indef __SENSORS.H \n";
String content = "#indef __SENSORS_H \n";
content += "#define __SENSORS.H \n\n";
content += "struct \n { \n";
content += " int Id; \n int pinNr; \n int address; \n } sensors; \n ";
......@@ -221,7 +221,7 @@ public class BusExecutable extends TransmissionUnitExecutableBase<TransmissionUn
/** Create Header Files defining structure for actuator. */
private void createActuatorHeaderFile(SourcePackage pack) {
String content = "#indef __ACTUATORS.H \n";
String content = "#indef __ACTUATORS_H \n";
content += "#define __ACTUATORS.H \n\n";
content += "struct \n { \n";
content += " int Id; \n int pinNr; \n int address; \n } actuators; \n ";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment