aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps
diff options
context:
space:
mode:
Diffstat (limited to 'src/amps')
-rw-r--r--src/amps/amps.c2
-rw-r--r--src/amps/amps.h5
-rw-r--r--src/amps/transaction.h2
3 files changed, 5 insertions, 4 deletions
diff --git a/src/amps/amps.c b/src/amps/amps.c
index 4206adb..39435b5 100644
--- a/src/amps/amps.c
+++ b/src/amps/amps.c
@@ -1076,6 +1076,8 @@ void call_down_audio(int callref, sample_t *samples, int count)
}
}
+void call_down_clock(void) {}
+
/* Timeout handling */
void transaction_timeout(struct timer *timer)
{
diff --git a/src/amps/amps.h b/src/amps/amps.h
index 0bfcf62..f04b3d3 100644
--- a/src/amps/amps.h
+++ b/src/amps/amps.h
@@ -2,6 +2,7 @@
#include "../libmobile/sender.h"
#include "../libtimer/timer.h"
#include "../libcompandor/compandor.h"
+typedef struct amps amps_t;
#include "sysinfo.h"
#include "transaction.h"
@@ -35,7 +36,7 @@ enum fsk_rx_sync {
#define FSK_MAX_BITS 1032 /* maximum number of bits to process (FVC with dotting+sync) */
-typedef struct amps {
+struct amps {
sender_t sender;
compandor_t cstate;
int pre_emphasis; /* use pre_emphasis by this instance */
@@ -159,7 +160,7 @@ typedef struct amps {
double when_received; /* time stamp of received frame start (start of dotting) */
double when_transmitted[16]; /* time stamps of filler frames with different count */
int when_count; /* counter of the filler frame */
-} amps_t;
+};
void amps_channel_list(void);
int amps_channel_by_short_name(const char *short_name);
diff --git a/src/amps/transaction.h b/src/amps/transaction.h
index 5327481..8eb689f 100644
--- a/src/amps/transaction.h
+++ b/src/amps/transaction.h
@@ -1,6 +1,4 @@
-typedef struct amps amps_t;
-
enum amps_trans_state {
TRANS_NULL = 0,
TRANS_REGISTER_ACK, /* attach request received, waiting to ack */