kopia lustrzana https://github.com/Hamlib/Hamlib
Stop the blithering
rodzic
921a6a9de3
commit
55b0599b75
|
@ -286,7 +286,7 @@ typedef struct s_rig RIG;
|
|||
#define HAMLIB_MAX_CAL_LENGTH 32 /* max calibration plots in cal_table_t */
|
||||
#define HAMLIB_MAX_MODES 63
|
||||
#define HAMLIB_MAX_VFOS 31
|
||||
#define HAMLIB_MAX_ROTORS 63
|
||||
#define HAMLIB_MAX_ROTORS 31
|
||||
#define HAMLIB_MAX_VFO_OPS 31
|
||||
#define HAMLIB_MAX_RSCANS 31
|
||||
#define HAMLIB_MAX_SNAPSHOT_PACKET_SIZE 16384 /* maximum number of bytes in a UDP snapshot packet */
|
||||
|
|
|
@ -358,8 +358,6 @@ typedef enum {
|
|||
ROT_STATUS_OVERLAP_LEFT = (1 << 14), /*!< The azimuth rotator has rotated left (CCW) past 0 degrees. */
|
||||
ROT_STATUS_OVERLAP_RIGHT = (1 << 16), /*!< The azimuth rotator has rotated right (CW) past 360 degrees. */
|
||||
} rot_status_t;
|
||||
// Update this if any additions to status definitions
|
||||
#define HAMLIB_MAX_ROTOR_STATUS 16
|
||||
|
||||
//! @cond Doxygen_Suppress
|
||||
/* So far only used in tests/sprintflst.c. */
|
||||
|
|
|
@ -819,7 +819,7 @@ int rot_sprintf_status(char *str, int nlen, rot_status_t status)
|
|||
return 0;
|
||||
}
|
||||
|
||||
for (i = 0; i <= HAMLIB_MAX_ROTOR_STATUS; i++)
|
||||
for (i = 0; i <= HAMLIB_MAX_ROTORS; i++)
|
||||
{
|
||||
const char *sv = rot_strstatus(status & ROT_STATUS_N(i));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue