mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-27 14:03:15 -04:00
Don't touch not-found device configs
This commit is contained in:
+1
-2
@@ -467,8 +467,7 @@ bool AppConfig::load() {
|
||||
while (devices_node->hasAnother("device")) {
|
||||
DataNode *device_node = devices_node->getNext("device");
|
||||
if (device_node->hasAnother("id")) {
|
||||
std::string deviceId;
|
||||
device_node->getNext("id")->element()->get(deviceId);
|
||||
std::string deviceId = device_node->getNext("id")->element()->toString();
|
||||
|
||||
getDevice(deviceId)->load(device_node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user