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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user