diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3edc66fae..f3ebefd91 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,7 @@ include_directories(${PROJECT_SOURCE_DIR}) foreach( mylibfolder Airports Aircraft + Radio ATC ATCDCL Autopilot diff --git a/src/Radio/radio.cxx b/src/Radio/radio.cxx index c1ca246b1..fdd8dd416 100644 --- a/src/Radio/radio.cxx +++ b/src/Radio/radio.cxx @@ -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