Skip to content

Commit

Permalink
Ensure operator precedense.
Browse files Browse the repository at this point in the history
  • Loading branch information
horacekj committed Nov 18, 2018
1 parent 20ef9b4 commit aeb66c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tUltimateLI.pas
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ procedure TuLI.ParseDeviceMsg(deviceAddr:Byte; var msg: TBuffer);
toSend := toSend + #$A + #$80 + #0 + #0;
end else begin
// lokomotiva je rizena ovladacem
toSend := toSend + AnsiChar(2 + Byte(Self.sloty[addr].mausId <> (msg.data[0] AND $1F)) shl 3);
toSend := toSend + AnsiChar(2 + (Byte(Self.sloty[addr].mausId <> (msg.data[0] AND $1F)) shl 3));

// rychlost + smer
case (Self.sloty[addr].rychlost_stupne) of
Expand Down
5 changes: 3 additions & 2 deletions src/uLIdaemon.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<DCC_DebugInformation>false</DCC_DebugInformation>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<DCC_MapFile>3</DCC_MapFile>
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
</PropertyGroup>
<ItemGroup>
Expand Down Expand Up @@ -97,7 +98,7 @@
<VersionInfo Name="AutoIncBuild">True</VersionInfo>
<VersionInfo Name="MajorVer">1</VersionInfo>
<VersionInfo Name="MinorVer">1</VersionInfo>
<VersionInfo Name="Release">22</VersionInfo>
<VersionInfo Name="Release">23</VersionInfo>
<VersionInfo Name="Build">0</VersionInfo>
<VersionInfo Name="Debug">False</VersionInfo>
<VersionInfo Name="PreRelease">False</VersionInfo>
Expand All @@ -110,7 +111,7 @@
<VersionInfoKeys>
<VersionInfoKeys Name="CompanyName"/>
<VersionInfoKeys Name="FileDescription">Propojení hJOPserveru a uLI-master</VersionInfoKeys>
<VersionInfoKeys Name="FileVersion">1.1.22.0</VersionInfoKeys>
<VersionInfoKeys Name="FileVersion">1.1.23.0</VersionInfoKeys>
<VersionInfoKeys Name="InternalName">uLI-daemon</VersionInfoKeys>
<VersionInfoKeys Name="LegalCopyright">Jan Horáček</VersionInfoKeys>
<VersionInfoKeys Name="LegalTrademarks">Jan Horáček</VersionInfoKeys>
Expand Down

0 comments on commit aeb66c6

Please sign in to comment.