Skip to content

Commit

Permalink
Add 230K4 baudrate support for GPS (#4317)
Browse files Browse the repository at this point in the history
Add support for 230K baudrate for GPS
  • Loading branch information
haslinghuis authored Jan 24, 2025
1 parent 00e10be commit 6de1682
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/js/tabs/ports.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { mspHelper } from "../msp/MSPHelper";
import FC from "../fc";
import MSP from "../msp";
import MSPCodes from "../msp/MSPCodes";
import { API_VERSION_1_45 } from "../data_storage";
import { API_VERSION_1_45, API_VERSION_1_47 } from "../data_storage";
import $ from "jquery";

const ports = {
Expand Down Expand Up @@ -92,6 +92,10 @@ ports.initialize = function (callback) {
"2470000",
];

if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_47)) {
gpsBaudRates.push("230400");
}

const columns = ["configuration", "peripherals", "sensors", "telemetry", "rx"];

GUI.active_tab = "ports";
Expand Down

0 comments on commit 6de1682

Please sign in to comment.