Add clock function to call interface

Implementations will have a clock to play tones, if no clock is
available from a transceiver.
This commit is contained in:
Andreas Eversberg
2020-01-12 07:54:25 +01:00
parent 0cfcf67157
commit f132059edf
15 changed files with 45 additions and 28 deletions

View File

@@ -586,6 +586,8 @@ void call_clock(void)
uint8_t buf[sizeof(struct gsm_data_frame) + 160 * sizeof(int16_t)];
struct gsm_data_frame *data = (struct gsm_data_frame *)buf;
call_down_clock();
while(process) {
if (process->pattern != PATTERN_NONE) {
data->msg_type = ANALOG_8000HZ;