You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
TX search sp.E mode: tidy up
Remove unrequired lines from sp.E mode switch code.
This commit is contained in:
@@ -57,8 +57,6 @@ function processData(data, piCode, rdsPs) {
|
||||
let weightDistance = distance.distanceKm
|
||||
if (esMode && distance.distanceKm > 200) {
|
||||
weightDistance = Math.abs(distance.distanceKm-1500);
|
||||
} else {
|
||||
weightDistance = distance.distanceKm;
|
||||
}
|
||||
const score = (10*Math.log10(station.erp*1000)) / weightDistance; // Calculate score
|
||||
if (score > maxScore) {
|
||||
|
||||
Reference in New Issue
Block a user