add to CMake
This commit is contained in:
parent
b55fd4de91
commit
322a15f8da
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ include_directories(${PROJECT_SOURCE_DIR})
|
|||
foreach( mylibfolder
|
||||
Airports
|
||||
Aircraft
|
||||
Radio
|
||||
ATC
|
||||
ATCDCL
|
||||
Autopilot
|
||||
|
|
|
@ -177,7 +177,7 @@ double FGRadio::ITM_calculate_attenuation(SGGeod pos, double freq,
|
|||
double course = SGGeodesy::courseRad(own_pos_c, sender_pos_c);
|
||||
double distance_m = SGGeodesy::distanceM(own_pos, sender_pos);
|
||||
double probe_distance = 0.0;
|
||||
// If distance larger than this value (300 km), assume reception imposssible to preserve resources
|
||||
// If distance larger than this value (300 km), assume reception imposssible
|
||||
if (distance_m > 300000)
|
||||
return -1.0;
|
||||
// If above 9000, consider LOS mode and calculate free-space att
|
||||
|
|
Loading…
Add table
Reference in a new issue