1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

change check from === 'MacOS' to !== 'Windows'

This commit is contained in:
Adem Gaygusuz 2018-06-03 10:37:55 +01:00
parent 6fd0153b91
commit 3e69bc7cbd
2 changed files with 3 additions and 3 deletions

View file

@ -254,13 +254,13 @@ TABS.cli.read = function (readInfo) {
switch (data[i]) {
case lineFeedCode:
if (GUI.operating_system != "MacOS") {
if (GUI.operating_system === "Windows") {
writeLineToOutput(this.cliBuffer);
this.cliBuffer = "";
}
break;
case carriageReturnCode:
if (GUI.operating_system == "MacOS") {
if (GUI.operating_system !== "Windows") {
writeLineToOutput(this.cliBuffer);
this.cliBuffer = "";
}