This commit is contained in:
Jim Colderwood 2024-04-05 12:35:05 +01:00
parent 2aec3b87af
commit 632c208c0e

View File

@ -18,49 +18,49 @@ typedef enum {
typedef struct {
c_type courtesy;
int cw_pitch;
int cw_speed;
int pip_length;
char pip_letter;
int pip_pitch;
int pip_speed;
int pip_gw_length;
char pip_gw_letter;
int pip_gw_pitch;
int cw_pitch;
int cw_speed;
int pip_length;
char pip_letter;
int pip_pitch;
int pip_speed;
int pip_gw_length;
char pip_gw_letter;
int pip_gw_pitch;
}params;
typedef struct {
bool tx;
bool tx;
unsigned long long tx_time;
}transmitter;
typedef struct {
int id;
bool rx;
int id;
bool rx;
unsigned long long rx_time;
}receiver;
typedef struct {
bool enable;
bool enable;
unsigned long speed;
}serial;
typedef struct {
bool enable;
receiver receiver;
bool enable;
receiver receiver;
transmitter transmitter;
}gateway;
typedef struct {
char* callsign;
gateway gateway;
char* callsign;
gateway gateway;
unsigned long id_time;
state last;
params params;
receiver receiver;
serial serial;
state state;
transmitter transmitter;
state last;
params params;
receiver receiver;
serial serial;
state state;
transmitter transmitter;
}repeater;
#endif