Merge pull request #1247 from HB9HIL/distance_lp

This commit is contained in:
Fabian Berg
2024-11-23 10:31:37 +01:00
committed by GitHub
7 changed files with 20 additions and 18 deletions

View File

@@ -105,7 +105,7 @@ class Reg1testformat {
if (!empty($row->COL_GRIDSQUARE)) {
if(!array_key_exists($row->COL_GRIDSQUARE, $locators)){
$newlocator = true;
$distance = intval($CI->qra->distance($mylocator, $row->COL_GRIDSQUARE, "K"));
$distance = intval($CI->qra->distance($mylocator, $row->COL_GRIDSQUARE, "K", $row->COL_ANT_PATH));
$locators[$row->COL_GRIDSQUARE] = $distance;
}else{
$newlocator = false;