[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linrad] Calibration in Linrad-02.34.
- Subject: [linrad] Calibration in Linrad-02.34.
- From: Leif Asbrink <sm5bsz.com; leif@xxxxxxxxxxxxxxxx>
- Date: Thu, 24 May 2007 02:10:24 +0200
Hi All,
There is a bug in Linrad-02.34. It is not possible to
exit from the I/Q balance calibration routine by
pressing 'X' or ESC. Exit has to be made with ctlC
in case Linrad is run with svgalib. When running under
X11 or Windows one has to exit with the box in the title
bar.
The error is in caliq.c, line 320 which reads:
while(fft1_pb==fft1_px)lir_sem_wait(SEM_FFT1);
This line should be changed to:
while(fft1_pb==fft1_px &&
thread_command_flag[THREAD_CAL_IQBALANCE] == THRFLAG_ACTIVE)
{
lir_sem_wait(SEM_FFT1);
}
The calibration thread will wait for the semaphore for
ever unless the loop monitors the flag that tells the
thread we want it to exit.
73
Leif / SM5BSZ
#############################################################
This message is sent to you because you are subscribed to
the mailing list <linrad@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to <linrad-request@xxxxxxxxxxxxxxxxxxxxx>
LINRADDARNIL