Hamlib/rotators
Andrew Rodland 8bf26f1fa0 Fix spurious writes when no RT-21 second port
The if condition for whether there actually is a second port is only
covering the sprintf for the elevation command, and not the write
attempt. So we call rotorez_send_priv_cmd2 whether rotport2 is valid or
not. When it's not, we try to write the command to fd 0 (stdin). When
running on the console, this results in trash on the console. When
runnning under something else (e.g. systemd) this results in errors or
other wierd behavior (e.g. EBADF because stdin isn't connected, causing
the command to fail with RIG_EIO).
2021-12-29 13:54:20 -05:00
..
amsat make the Android.mk files adapt to multi arch 2021-09-25 07:03:23 +08:00
androidsensor AndroidSensor codes improvement 2021-10-06 13:51:19 +08:00
ars make the Android.mk files adapt to multi arch 2021-09-25 07:03:23 +08:00
celestron Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
cnctrk make the Android.mk files adapt to multi arch 2021-09-25 07:03:23 +08:00
easycomm Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
ether6 Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
fodtrack make the Android.mk files adapt to multi arch 2021-09-25 07:03:23 +08:00
gs232a Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
heathkit Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
indi make the Android.mk files adapt to multi arch 2021-09-25 07:03:23 +08:00
ioptron Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
m2 Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
meade Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
prosistel Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
radant Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
rotorez Fix spurious writes when no RT-21 second port 2021-12-29 13:54:20 -05:00
sartek Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
satel Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
spid Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
ts7400 make the Android.mk files adapt to multi arch 2021-09-25 07:03:23 +08:00