Skip to content

Commit

Permalink
Remove SatInfo request (#3698)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Dec 27, 2023
1 parent 9117326 commit 820d30b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/js/msp/MSPCodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ const MSPCodes = {
MSP2_GET_LED_STRIP_CONFIG_VALUES: 0x3008,
MSP2_SET_LED_STRIP_CONFIG_VALUES: 0x3009,
MSP2_SENSOR_CONFIG_ACTIVE: 0x300A,
MSP2_UBLOX_REQUEST_SV_INFO: 0x300B,

// MSP2_GET_TEXT and MSP2_SET_TEXT variable types
PILOT_NAME: 1,
Expand Down
4 changes: 0 additions & 4 deletions src/js/msp/MSPHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -1608,10 +1608,6 @@ MspHelper.prototype.process_data = function(dataHandler) {
console.log('DSHOT command sent');
break;

case MSPCodes.MSP2_UBLOX_REQUEST_SV_INFO:
console.log('UBLOX SV info requested');
break;

case MSPCodes.MSP_MULTIPLE_MSP:

let hasReturnedSomeCommand = false; // To avoid infinite loops
Expand Down
5 changes: 0 additions & 5 deletions src/js/tabs/gps.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ gps.initialize = async function (callback) {

await MSP.promise(MSPCodes.MSP_GPS_CONFIG);

// GPS SV info request added in 1.46 for UBLOX protocol
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_46) && FC.GPS_CONFIG.provider === 1) {
await MSP.promise(MSPCodes.MSP2_UBLOX_REQUEST_SV_INFO);
}

load_html();

function load_html() {
Expand Down

0 comments on commit 820d30b

Please sign in to comment.