Skip to content

Commit

Permalink
Initial changes for ft100
Browse files Browse the repository at this point in the history
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@981 7ae35d74-ebe9-4afe-98af-79ac388436b8
  • Loading branch information
Alex V Flinsch, KC2IVL committed Mar 4, 2002
1 parent 491f9f6 commit b216747
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kylix/HamlibComponents.pas
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,15 @@ procedure TRigComponent.SetFreq(vfo: vfo_t; freq: freq_t);
var
retval: integer;
begin
vfo:=1;
writeln('vfo=',vfo,' freq=',freq);
retval := rig_set_freq(FRig, vfo, freq);
if (retval <> RIG_OK)
then raise ERigException.Create('rig_set_freq: ' + StrPas(rigerror(retval)));
then
begin
writeln('Return=',retval);
raise ERigException.Create('rig_set_freq: ' + StrPas(rigerror(retval)));
end;
end;

procedure TRigComponent.SetTransceive(trn: integer);
Expand Down

0 comments on commit b216747

Please sign in to comment.