Skip to content

Commit

Permalink
Reverting config file to defaults and adding more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
k4kfh committed Jul 14, 2017
1 parent 97f0c34 commit 0eda6c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cfg/decoders.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ var decoders = {
"generic": {
"generic": function(address, trainPosition) {
'use strict';
console.debug("DECODER: Using 'generic' for " + trainPosition)
//GENERIC FALLBACK
train.all[trainPosition].throttle = new jmri.throttle(address, jmri.throttleName.generate());

Expand Down
2 changes: 1 addition & 1 deletion cfg/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ By default, these settings assume that ZephyrCab is running on a local JMRI ins

If you'd prefer to use an external web server, set cfg.webServer to "external" and cfg.ip/cfg.port to your JMRI PC's IP and port. This is not recommended except for experienced users/developers.
*/
cfg.webServer="external";
cfg.webServer="jmri";
cfg.ip = "jmri"; //ignored when cfg.webServer is set to "jmri"
cfg.port = 12080; //ignored when cfg.webServer is set to "jmri"

Expand Down

0 comments on commit 0eda6c8

Please sign in to comment.