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:
parent
6fd0153b91
commit
3e69bc7cbd
2 changed files with 3 additions and 3 deletions
|
@ -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 = "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue