diff --git a/src/css/main.less b/src/css/main.less index 9fb6459c28..f0e1f4b0e1 100644 --- a/src/css/main.less +++ b/src/css/main.less @@ -1730,14 +1730,14 @@ dialog { border-radius: 3px; color: #fff; font-size: 10px; - &.search { + &.low { background-color: #808080; } - &.locked { + &.notReady { background-color: #ffcc3f; } - &.almostReady { - background-color: #ffa500; + &.locked { + background-color: #ff9500; } &.ready { background-color: #008000; diff --git a/src/js/tabs/gps.js b/src/js/tabs/gps.js index 5f36e77345..cb8aef46e7 100644 --- a/src/js/tabs/gps.js +++ b/src/js/tabs/gps.js @@ -192,7 +192,7 @@ gps.initialize = async function (callback) { const qualityArray = ['gnssQualityNoSignal', 'gnssQualitySearching', 'gnssQualityAcquired', 'gnssQualityUnusable', 'gnssQualityLocked', 'gnssQualityFullyLocked', 'gnssQualityFullyLocked', 'gnssQualityFullyLocked']; const usedArray = ['gnssUsedUnused', 'gnssUsedUsed']; - const healthyArray = ['gnssHealthyUnknown', 'gnssHealthyHealthy', 'gnssHealthyUnhealthy', 'gnssHealthyUnknown']; + // const healthyArray = ['gnssHealthyUnknown', 'gnssHealthyHealthy', 'gnssHealthyUnhealthy', 'gnssHealthyUnknown']; let alt = FC.GPS_DATA.alt; $('.GPS_info span.colorToggle').text(FC.GPS_DATA.fix ? i18n.getMessage('gpsFixTrue') : i18n.getMessage('gpsFixFalse')); @@ -200,7 +200,7 @@ gps.initialize = async function (callback) { const gspUnitText = i18n.getMessage('gpsPositionUnit'); $('.GPS_info td.alt').text(`${alt} m`); - $('.GPS_info td.latLon a').prop('href', url).text(`${lat.toFixed(4)} / ${lon.toFixed(4)} ${gspUnitText}`); + $('.GPS_info td.latLon a').prop('href', url).text(`${lat.toFixed(6)} / ${lon.toFixed(6)} ${gspUnitText}`); $('.GPS_info td.heading').text(`${magHeadingDeg.toFixed(4)} / ${gpsHeading.toFixed(4)} ${gspUnitText}`); $('.GPS_info td.speed').text(`${FC.GPS_DATA.speed} cm/s`); $('.GPS_info td.sats').text(FC.GPS_DATA.numSat); @@ -250,6 +250,7 @@ gps.initialize = async function (callback) { for (let i = 0; i < channels; i++) { let rowContent = ''; + let usedColor = ''; if (FC.GPS_DATA.chn[i] <= 6) { rowContent += `