Skip to content

Commit

Permalink
Add. Issuing synchronization.
Browse files Browse the repository at this point in the history
  • Loading branch information
pabender committed Apr 28, 2019
1 parent a38bc5b commit 797ad66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/jmri/jmrix/xpa/XpaTurnout.java
Expand Up @@ -45,7 +45,7 @@ public int getNumber() {

// Handle a request to change state by sending a formatted DCC packet
@Override
protected void forwardCommandChangeToLayout(int s) {
synchronized protected void forwardCommandChangeToLayout(int s) {
XpaMessage m;
// sort out states
if ((s & _mClosed) != 0) {
Expand Down

0 comments on commit 797ad66

Please sign in to comment.