kopia lustrzana https://github.com/jamescoxon/dl-fldigi
Bug fix IOTA not clearing
Added clear IOTA field when QSO log saved to logbook Added comments to locator.cpull/2/head
rodzic
568f5c555a
commit
fccba5c6d9
|
@ -572,6 +572,7 @@ void AddRecord ()
|
|||
inpComment_log->value (inpNotes->value());
|
||||
|
||||
inpTX_pwr_log->value (progdefaults.mytxpower.c_str());
|
||||
inpIOTA_log->value("");
|
||||
|
||||
saveRecord();
|
||||
qsodb.SortByDate();
|
||||
|
|
|
@ -539,9 +539,12 @@ int HAMLIB_API qrb(double lon1, double lat1, double lon2, double lat2, double *d
|
|||
* This method is easier than the one in the handbook
|
||||
*/
|
||||
|
||||
/* Short Path */
|
||||
|
||||
*distance = ARC_IN_KM * RADIAN * arc;
|
||||
|
||||
/* Short Path */
|
||||
/* Change to azimuth computation by Dave Freese, W1HKJ */
|
||||
|
||||
az = RADIAN * atan2(sin(lon2 - lon1) * cos(lat2),
|
||||
(cos(lat1) * sin(lat2) - sin(lat1) * cos(lat2) * cos(lon2 - lon1)));
|
||||
|
||||
|
@ -552,7 +555,6 @@ int HAMLIB_API qrb(double lon1, double lat1, double lon2, double lat2, double *d
|
|||
az -= 360.0;
|
||||
|
||||
*azimuth = floor(az + 0.5);
|
||||
|
||||
return RIG_OK;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue