kopia lustrzana https://github.com/Hamlib/Hamlib
Fix hamlib_port structure alignment
Should fix the shared libary problem with WSJTX getting incorrect vfo_list https://github.com/Hamlib/Hamlib/issues/500pull/506/head
rodzic
6fbf33e8ed
commit
7615f85012
|
@ -1996,7 +1996,8 @@ typedef struct hamlib_port {
|
||||||
} post_write_date; /*!< hamlib internal use */
|
} post_write_date; /*!< hamlib internal use */
|
||||||
|
|
||||||
int timeout; /*!< Timeout, in mS */
|
int timeout; /*!< Timeout, in mS */
|
||||||
int retry; /*!< Maximum number of retries, 0 to disable */
|
short retry; /*!< Maximum number of retries, 0 to disable */
|
||||||
|
short flushx; /*!< If true flush is done with read instead of TCFLUSH - MicroHam */
|
||||||
|
|
||||||
char pathname[FILPATHLEN]; /*!< Port pathname */
|
char pathname[FILPATHLEN]; /*!< Port pathname */
|
||||||
|
|
||||||
|
@ -2034,7 +2035,6 @@ typedef struct hamlib_port {
|
||||||
int value; /*!< Toggle PTT ON or OFF */
|
int value; /*!< Toggle PTT ON or OFF */
|
||||||
} gpio; /*!< GPIO attributes */
|
} gpio; /*!< GPIO attributes */
|
||||||
} parm; /*!< Port parameter union */
|
} parm; /*!< Port parameter union */
|
||||||
int flushx; /*!< If true flush is done with read instead of TCFLUSH - MicroHam */
|
|
||||||
} hamlib_port_t;
|
} hamlib_port_t;
|
||||||
//! @endcond
|
//! @endcond
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue