Skip to content

Commit

Permalink
Merge pull request #2284 from Scavanger/patch-1
Browse files Browse the repository at this point in the history
Fix: Demo mode
  • Loading branch information
mmosca authored Dec 16, 2024
2 parents 1475b04 + 63fdfee commit ea7d0d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/sitl.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ var SITLProcess = {
}
}

callback( sitlExePath + " " + args.join(" ") + "\n");
if (callback) {
callback( sitlExePath + " " + args.join(" ") + "\n");
}
this.spawn(sitlExePath, args, callback);
},

Expand Down

0 comments on commit ea7d0d7

Please sign in to comment.