mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Test source: added sawtooth pattern
This commit is contained in:
@@ -354,8 +354,15 @@ bool TestSourceInput::applySettings(const TestSourceSettings& settings, bool for
|
||||
|
||||
if ((m_settings.m_modulation != settings.m_modulation) || force)
|
||||
{
|
||||
if (m_testSourceThread != 0) {
|
||||
if (m_testSourceThread != 0)
|
||||
{
|
||||
m_testSourceThread->setModulation(settings.m_modulation);
|
||||
|
||||
if (settings.m_modulation == TestSourceSettings::ModulationPattern0) {
|
||||
m_testSourceThread->setPattern0();
|
||||
} else if (settings.m_modulation == TestSourceSettings::ModulationPattern1) {
|
||||
m_testSourceThread->setPattern1();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user