1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 20:10:11 +03:00

Merge pull request #1826 from iNavFlight/dzikuvx-drop-nmea-protocol

Drop NMEA protocol support
This commit is contained in:
Paweł Spychalski 2023-09-29 15:56:37 +02:00 committed by GitHub
commit 42a18298f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 10 deletions

View file

@ -4934,9 +4934,6 @@
"pidTuning_MatrixFilterTypeHelp": { "pidTuning_MatrixFilterTypeHelp": {
"message": "Defines the type of Matrix Filter. Default 2D filter is recommended for most users. 7-inch and larger quads may benefit from 3D filter." "message": "Defines the type of Matrix Filter. Default 2D filter is recommended for most users. 7-inch and larger quads may benefit from 3D filter."
}, },
"nmeaWarning": {
"message": "NMEA protocol is deprecated and might be removed in the future. Please use UBLOX or UBLOX7 protocol instead."
},
"softSerialWarning": { "softSerialWarning": {
"message": "It is not advisable to use softserial for flight critical devices like GPS or receiver, or high traffic devices like MSP DisplayPort." "message": "It is not advisable to use softserial for flight critical devices like GPS or receiver, or high traffic devices like MSP DisplayPort."
}, },

View file

@ -593,7 +593,6 @@ var FC = {
}, },
getGpsProtocols: function () { getGpsProtocols: function () {
return [ return [
'NMEA',
'UBLOX', 'UBLOX',
'UBLOX7', 'UBLOX7',
'MSP', 'MSP',

View file

@ -20,7 +20,6 @@
<label for="feature-7"><span data-i18n="featureGPS"></span></label> <label for="feature-7"><span data-i18n="featureGPS"></span></label>
<div for="feature-7" class="helpicon cf_tip" data-i18n_title="featureGPSTip"></div> <div for="feature-7" class="helpicon cf_tip" data-i18n_title="featureGPSTip"></div>
</div> </div>
<div id="nmeaWarning" data-i18n="nmeaWarning" class="warning-box"></div>
<div class="select"> <div class="select">
<select id="gps_protocol" class="gps_protocol"> <select id="gps_protocol" class="gps_protocol">
<!-- list generated here --> <!-- list generated here -->

View file

@ -76,11 +76,6 @@ TABS.gps.initialize = function (callback) {
gps_protocol_e.change(function () { gps_protocol_e.change(function () {
MISC.gps_type = parseInt($(this).val()); MISC.gps_type = parseInt($(this).val());
if (MISC.gps_type == 0) {
$('#nmeaWarning').show();
} else {
$('#nmeaWarning').hide();
}
}); });
gps_protocol_e.val(MISC.gps_type); gps_protocol_e.val(MISC.gps_type);