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
androidsensor
ars
celestron Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
cnctrk
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
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
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