Skip to content

Commit

Permalink
Remove dummy annotation and leading blank in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Apr 24, 2015
1 parent c3f41c2 commit baccf96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions Modelica_DeviceDrivers/Blocks/Communication.mo
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ package Communication
textString="%name")}), Documentation(info="<html>
<p>Supports reading from a named shared memory partition. The name of the shared memory partition is
provided by the parameter <b>memoryID</b>. If the shared memory partition does not yet exist during initialization, it is created.</p>
</html>"),
Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{
100,100}}), graphics));
</html>"));
end SharedMemoryRead;

model SharedMemoryWrite "A block for writing data in a shared memory"
Expand Down Expand Up @@ -778,7 +776,7 @@ See <a href=\"modelica://Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackag
input SocketCAN socketCAN;
input Integer can_id "CAN frame identifier";
input Integer can_dlc(min=0,max=8)
" length of data in bytes (min=0, max=8)";
"length of data in bytes (min=0, max=8)";
input SerialPackager pkg;
input Real dummy;
output Real dummy2;
Expand Down
6 changes: 3 additions & 3 deletions Modelica_DeviceDrivers/Communication/SocketCAN_.mo
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package SocketCAN_ "Accompanying functions for the SocketCAN object"
input SocketCAN socketCAN;
input Integer can_id "CAN frame identifier";
input Integer can_dlc(min=0,max=8)
" length of data in bytes (min=0, max=8)";
"length of data in bytes (min=0, max=8)";
input SerialPackager pkg;

external "C" MDD_socketCANWriteP(socketCAN, can_id, can_dlc, pkg)
Expand All @@ -22,7 +22,7 @@ package SocketCAN_ "Accompanying functions for the SocketCAN object"
input SocketCAN socketCAN;
input Integer can_id "CAN frame identifier";
input Integer can_dlc(min=0,max=8)
" length of data in bytes (min=0, max=8)";
"length of data in bytes (min=0, max=8)";

external "C" MDD_socketCANDefineObject(socketCAN, can_id, can_dlc)
annotation (IncludeDirectory="modelica://Modelica_DeviceDrivers/Resources/Include",
Expand All @@ -37,7 +37,7 @@ package SocketCAN_ "Accompanying functions for the SocketCAN object"
input SocketCAN socketCAN;
input Integer can_id "CAN frame identifier";
input Integer can_dlc(min=0,max=8)
" length of data in bytes (min=0, max=8)";
"length of data in bytes (min=0, max=8)";
input SerialPackager pkg;

external "C" MDD_socketCANReadP(socketCAN, can_id, can_dlc, pkg)
Expand Down

0 comments on commit baccf96

Please sign in to comment.