mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
lib/ip: fail making if configureJson() fails
This commit is contained in:
parent
81db98e448
commit
da88b15af3
1 changed files with 4 additions and 1 deletions
|
@ -286,7 +286,10 @@ IpCoreFactory::make(PCIeCard* card, json_t *json_ips)
|
|||
}
|
||||
|
||||
// IP-specific setup via JSON config
|
||||
ipCoreFactory->configureJson(*ip, json_ip);
|
||||
if(not ipCoreFactory->configureJson(*ip, json_ip)) {
|
||||
cpp_warn << "Cannot configure IP from JSON";
|
||||
continue;
|
||||
}
|
||||
|
||||
// TODO: currently fails, fix and remove comment
|
||||
// if(not ip->start()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue