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 { typedef struct {
c_type courtesy; c_type courtesy;
int cw_pitch; int cw_pitch;
int cw_speed; int cw_speed;
int pip_length; int pip_length;
char pip_letter; char pip_letter;
int pip_pitch; int pip_pitch;
int pip_speed; int pip_speed;
int pip_gw_length; int pip_gw_length;
char pip_gw_letter; char pip_gw_letter;
int pip_gw_pitch; int pip_gw_pitch;
}params; }params;
typedef struct { typedef struct {
bool tx; bool tx;
unsigned long long tx_time; unsigned long long tx_time;
}transmitter; }transmitter;
typedef struct { typedef struct {
int id; int id;
bool rx; bool rx;
unsigned long long rx_time; unsigned long long rx_time;
}receiver; }receiver;
typedef struct { typedef struct {
bool enable; bool enable;
unsigned long speed; unsigned long speed;
}serial; }serial;
typedef struct { typedef struct {
bool enable; bool enable;
receiver receiver; receiver receiver;
transmitter transmitter; transmitter transmitter;
}gateway; }gateway;
typedef struct { typedef struct {
char* callsign; char* callsign;
gateway gateway; gateway gateway;
unsigned long id_time; unsigned long id_time;
state last; state last;
params params; params params;
receiver receiver; receiver receiver;
serial serial; serial serial;
state state; state state;
transmitter transmitter; transmitter transmitter;
}repeater; }repeater;
#endif #endif