diff options
author | Andreas Eversberg <andreas@eversberg.eu> | 2016-10-03 14:46:25 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-10-03 14:56:15 +0200 |
commit | b205cfcf03b700128db4c1558278371cd13dbbd4 (patch) | |
tree | fb708d4c9dece9e6a6483c767ca3bd1418b6c9eb /src/nmt | |
parent | e029a6a85802f3dbdcac6f92d224dfdaf0500594 (diff) |
B-Netz: Work on pilot signal generation
The pilot signal to switch to channel 19 can be:
* a tone
* a tone that is turned off (notone)
* positive amplitude
* negative amplitude
Diffstat (limited to 'src/nmt')
-rw-r--r-- | src/nmt/nmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nmt/nmt.c b/src/nmt/nmt.c index 7bdae54..558aa17 100644 --- a/src/nmt/nmt.c +++ b/src/nmt/nmt.c @@ -334,7 +334,7 @@ int nmt_create(int channel, enum nmt_chan_type chan_type, const char *sounddev, PDEBUG(DNMT, DEBUG_DEBUG, "Creating 'NMT' instance for channel = %d (sample rate %d).\n", channel, samplerate); /* init general part of transceiver */ - rc = sender_create(&nmt->sender, channel, sounddev, samplerate, cross_channels, rx_gain, pre_emphasis, de_emphasis, write_wave, read_wave, loopback, 0, -1); + rc = sender_create(&nmt->sender, channel, sounddev, samplerate, cross_channels, rx_gain, pre_emphasis, de_emphasis, write_wave, read_wave, loopback, 0, PILOT_SIGNAL_NONE); if (rc < 0) { PDEBUG(DNMT, DEBUG_ERROR, "Failed to init transceiver process!\n"); goto error; |