Skip to content

Commit

Permalink
Let the SITL tab run on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Apr 27, 2024
1 parent 0b1f30f commit 4b857ef
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tabs/sitl.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,6 @@ TABS.sitl.initialize = (callback) => {
i18n.localize();

var os = GUI.operating_system;
if (os != 'Windows' && os != 'Linux') {

$('.content_wrapper').find('*').remove();
$('.content_wrapper').append(`<h2>${i18n.getMessage('sitlOSNotSupported')}</h2>`);

GUI.content_ready(callback);
return;
}


var currentSim, currentProfile, profiles;
var mapping = new Array(28).fill(0);
Expand Down Expand Up @@ -524,4 +515,4 @@ TABS.sitl.cleanup = (callback) => {
Ser2TCP.stopPollSerialPorts();
if (callback)
callback();
};
};

0 comments on commit 4b857ef

Please sign in to comment.