Skip to content

Commit

Permalink
proper sync
Browse files Browse the repository at this point in the history
  • Loading branch information
pabender committed Jun 3, 2020
1 parent 255bd44 commit 470ae82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/jmri/jmrix/lenz/XNetTurnout.java
Expand Up @@ -350,7 +350,7 @@ public synchronized void message(XNetReply l) {
* Listen for the messages to the LI100/LI101.
*/
@Override
public void message(XNetMessage l) {
public synchronized void message(XNetMessage l) {
log.debug("received outgoing message {} for turnout {}",l,getSystemName());
// we want to verify this is the last message we sent
// so use == not .equals
Expand Down

0 comments on commit 470ae82

Please sign in to comment.