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

Fixed actuator/sensor information array generation.

parent 4f7963ee
No related branches found
No related tags found
No related merge requests found
...@@ -128,9 +128,9 @@ public class BusExecutable extends TransmissionUnitExecutableBase<TransmissionUn ...@@ -128,9 +128,9 @@ public class BusExecutable extends TransmissionUnitExecutableBase<TransmissionUn
/** Determine Sensors, Actuators their IDs and PinNumbers. */ /** Determine Sensors, Actuators their IDs and PinNumbers. */
private void createFilesPeripheralDetails(SourcePackage pack) { private void createFilesPeripheralDetails(SourcePackage pack) {
String sensorList = "#include \"sensors.h\" \n\n"; String sensorList = "#include \"sensors.h\" \n\n";
sensorList += "sensors sen[] \n{ \n"; sensorList += "sensors sen[] = \n{ \n";
String actuatorList = "#include \"actuators.h\" \n\n"; String actuatorList = "#include \"actuators.h\" \n\n";
actuatorList += "actuators act[] \n{\n"; actuatorList += "actuators act[] = \n{\n";
List<SensorInImpl> sens = new ArrayList<SensorInImpl>(); List<SensorInImpl> sens = new ArrayList<SensorInImpl>();
List<ActuatorOutImpl> acts = new ArrayList<ActuatorOutImpl>(); List<ActuatorOutImpl> acts = new ArrayList<ActuatorOutImpl>();
......
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