1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

ips/dma: use NodeFactory's configureJson to setup memory graph

This commit is contained in:
Niklas Eiling 2022-11-08 05:47:53 -05:00 committed by Steffen Vogel
parent 7b4176a710
commit dfb2a967d8

View file

@ -594,6 +594,9 @@ void Dma::dump()
bool
DmaFactory::configureJson(Core& ip, json_t* json)
{
if (not NodeFactory::configureJson(ip, json))
return false;
auto &dma = dynamic_cast<Dma&>(ip);
json_t* json_params = json_object_get(json, "parameters");
if (!json_is_object(json_params))