Merge branch 'master' into digital_lab

This commit is contained in:
Charles J. Cliffe
2015-11-15 12:23:59 -05:00
11 changed files with 211 additions and 114 deletions
+21 -1
View File
@@ -301,10 +301,26 @@ bool CubicSDR::OnCmdLineParsed(wxCmdLineParser& parser) {
#else
useLocalMod.store(true);
#endif
wxString *modPath = new wxString;
if (parser.Found("m",modPath)) {
if (modPath) {
modulePath = modPath->ToStdString();
} else {
modulePath = "";
}
}
return true;
}
void CubicSDR::closeDeviceSelector() {
if (deviceSelectorOpen) {
deviceSelectorDialog->Close();
}
}
void CubicSDR::deviceSelector() {
if (deviceSelectorOpen) {
deviceSelectorDialog->Raise();
@@ -645,4 +661,8 @@ void CubicSDR::setDeviceArgs(SoapySDR::Kwargs settingArgs_in) {
bool CubicSDR::getUseLocalMod() {
return useLocalMod.load();
}
}
std::string CubicSDR::getModulePath() {
return modulePath;
}