mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
[rotators] Fix includes
This commit is contained in:
parent
52be0797d8
commit
cdb3a60f02
@ -28,7 +28,6 @@
|
|||||||
|
|
||||||
#include <hamlib/rotator.h>
|
#include <hamlib/rotator.h>
|
||||||
#include "parallel.h"
|
#include "parallel.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#ifndef _ROT_APEX_H
|
#ifndef _ROT_APEX_H
|
||||||
#define _ROT_APEX_H 1
|
#define _ROT_APEX_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
extern const struct rot_caps apex_shared_loop_rot_caps;
|
extern const struct rot_caps apex_shared_loop_rot_caps;
|
||||||
|
|
||||||
extern float apex_azimuth;
|
extern float apex_azimuth;
|
||||||
|
@ -21,11 +21,9 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
#include "celestron.h"
|
#include "celestron.h"
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#ifndef _ROT_CELESTRON_H
|
#ifndef _ROT_CELESTRON_H
|
||||||
#define _ROT_CELESTRON_H 1
|
#define _ROT_CELESTRON_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
extern const struct rot_caps nexstar_rot_caps;
|
extern const struct rot_caps nexstar_rot_caps;
|
||||||
|
|
||||||
#endif /* _ROT_CELESTRON_H */
|
#endif /* _ROT_CELESTRON_H */
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
char axcmd[512];
|
char axcmd[512];
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
#include "idx_builtin.h"
|
#include "idx_builtin.h"
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#ifndef _ROT_EASYCOMM_H
|
#ifndef _ROT_EASYCOMM_H
|
||||||
#define _ROT_EASYCOMM_H 1
|
#define _ROT_EASYCOMM_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
|
|
||||||
extern const struct rot_caps easycomm1_rot_caps;
|
extern const struct rot_caps easycomm1_rot_caps;
|
||||||
|
@ -20,12 +20,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h> /* String function definitions */
|
#include <string.h> /* String function definitions */
|
||||||
|
|
||||||
#include <hamlib/rotator.h>
|
#include <hamlib/rotator.h>
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
#include "idx_builtin.h"
|
#include "idx_builtin.h"
|
||||||
|
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#ifndef _ROT_ETHER6_H
|
#ifndef _ROT_ETHER6_H
|
||||||
#define _ROT_ETHER6_H 1
|
#define _ROT_ETHER6_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
#define ROTORCTL_RET "OK"
|
#define ROTORCTL_RET "OK"
|
||||||
|
|
||||||
extern const struct rot_caps ether6_rot_caps;
|
extern const struct rot_caps ether6_rot_caps;
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h> /* String function definitions */
|
#include <string.h> /* String function definitions */
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#ifndef _ROT_FLIR_H
|
#ifndef _ROT_FLIR_H
|
||||||
#define _ROT_FLIR_H 1
|
#define _ROT_FLIR_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
|
|
||||||
/* backend conf */
|
/* backend conf */
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef _ROT_FODTRACK_H
|
#ifndef _ROT_FODTRACK_H
|
||||||
#define _ROT_FODTRACK_H 1
|
#define _ROT_FODTRACK_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
extern const struct rot_caps fodtrack_rot_caps;
|
extern const struct rot_caps fodtrack_rot_caps;
|
||||||
|
|
||||||
#endif /* _ROT_FODTRACK_H */
|
#endif /* _ROT_FODTRACK_H */
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h> /* String function definitions */
|
#include <string.h> /* String function definitions */
|
||||||
#include <unistd.h> /* UNIX standard function definitions */
|
#include <unistd.h> /* UNIX standard function definitions */
|
||||||
@ -34,10 +36,8 @@
|
|||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "hamlib/rig.h"
|
#include "hamlib/rig.h"
|
||||||
|
|
||||||
#include "misc.h"
|
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "network.h"
|
|
||||||
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
|
@ -26,10 +26,6 @@
|
|||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
|
||||||
|
|
||||||
#include "gs232a.h"
|
|
||||||
|
|
||||||
#define EOM "\r"
|
#define EOM "\r"
|
||||||
#define REPLY_EOM "\r"
|
#define REPLY_EOM "\r"
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef _ROT_GS232A_H
|
#ifndef _ROT_GS232A_H
|
||||||
#define _ROT_GS232A_H 1
|
#define _ROT_GS232A_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
extern const struct rot_caps gs232a_rot_caps;
|
extern const struct rot_caps gs232a_rot_caps;
|
||||||
extern const struct rot_caps gs232a_az_rot_caps;
|
extern const struct rot_caps gs232a_az_rot_caps;
|
||||||
extern const struct rot_caps gs232a_el_rot_caps;
|
extern const struct rot_caps gs232a_el_rot_caps;
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
#include "hd1780.h"
|
#include "hd1780.h"
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#ifndef _ROT_HD1780_H
|
#ifndef _ROT_HD1780_H
|
||||||
#define _ROT_HD1780_H 1
|
#define _ROT_HD1780_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
#define AZ_READ_LEN 6
|
#define AZ_READ_LEN 6
|
||||||
|
|
||||||
extern const struct rot_caps hd1780_rot_caps;
|
extern const struct rot_caps hd1780_rot_caps;
|
||||||
|
@ -21,13 +21,10 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
#include "rot_ioptron.h"
|
#include "rot_ioptron.h"
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#ifndef _ROT_RC2800_H
|
#ifndef _ROT_RC2800_H
|
||||||
#define _ROT_RC2800_H 1
|
#define _ROT_RC2800_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
extern const struct rot_caps rc2800_rot_caps;
|
extern const struct rot_caps rc2800_rot_caps;
|
||||||
|
|
||||||
#endif /* _ROT_RC2800_H */
|
#endif /* _ROT_RC2800_H */
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
#include <num_stdio.h>
|
#include <num_stdio.h>
|
||||||
|
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
#include "meade.h"
|
#include "meade.h"
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef _MEADE_H
|
#ifndef _MEADE_H
|
||||||
#define _MEADE_H 1
|
#define _MEADE_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
#define BUFSIZE 128
|
#define BUFSIZE 128
|
||||||
#define CR "\r"
|
#define CR "\r"
|
||||||
#define LF "\x0a"
|
#define LF "\x0a"
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef _ROT_PROSISTEL_H
|
#ifndef _ROT_PROSISTEL_H
|
||||||
#define _ROT_PROSISTEL_H 1
|
#define _ROT_PROSISTEL_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
extern const struct rot_caps prosistel_d_az_rot_caps;
|
extern const struct rot_caps prosistel_d_az_rot_caps;
|
||||||
extern const struct rot_caps prosistel_d_el_rot_caps;
|
extern const struct rot_caps prosistel_d_el_rot_caps;
|
||||||
extern const struct rot_caps prosistel_combi_track_azel_rot_caps;
|
extern const struct rot_caps prosistel_combi_track_azel_rot_caps;
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
#include "iofunc.h"
|
#include "iofunc.h"
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#ifndef _ROT_ROTOREZ_H
|
#ifndef _ROT_ROTOREZ_H
|
||||||
#define _ROT_ROTOREZ_H 1
|
#define _ROT_ROTOREZ_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
|
|
||||||
#define AZ_READ_LEN 4
|
#define AZ_READ_LEN 4
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#ifndef _ROT_SARTEK_H
|
#ifndef _ROT_SARTEK_H
|
||||||
#define _ROT_SARTEK_H 1
|
#define _ROT_SARTEK_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
#define AZ_READ_LEN 4
|
#define AZ_READ_LEN 4
|
||||||
|
|
||||||
extern const struct rot_caps sartek_rot_caps;
|
extern const struct rot_caps sartek_rot_caps;
|
||||||
|
@ -24,14 +24,11 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
#include "satel.h"
|
#include "satel.h"
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
|
|
||||||
#include "hamlib/rotator.h"
|
#include "hamlib/rotator.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "misc.h"
|
|
||||||
#include "register.h"
|
#include "register.h"
|
||||||
|
|
||||||
#include "spid.h"
|
#include "spid.h"
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#ifndef _ROT_SPID_H
|
#ifndef _ROT_SPID_H
|
||||||
#define _ROT_SPID_H 1
|
#define _ROT_SPID_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
extern const struct rot_caps spid_rot1prog_rot_caps;
|
extern const struct rot_caps spid_rot1prog_rot_caps;
|
||||||
extern const struct rot_caps spid_rot2prog_rot_caps;
|
extern const struct rot_caps spid_rot2prog_rot_caps;
|
||||||
extern const struct rot_caps spid_md01_rot2prog_rot_caps;
|
extern const struct rot_caps spid_md01_rot2prog_rot_caps;
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#ifndef _ROT_ts7400_H
|
#ifndef _ROT_ts7400_H
|
||||||
#define _ROT_ts7400_H 1
|
#define _ROT_ts7400_H 1
|
||||||
|
|
||||||
|
#include "rotator.h"
|
||||||
|
|
||||||
extern const struct rot_caps ts7400_rot_caps;
|
extern const struct rot_caps ts7400_rot_caps;
|
||||||
extern const struct rot_caps netrotctl_caps;
|
extern const struct rot_caps netrotctl_caps;
|
||||||
|
Loading…
Reference in New Issue
Block a user