This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DVRRDK question on IDs in system_linkId.h

Can the IDs in system_linkId.h of DVRRDK be changed?

is it ok to change DUP_LINK_OBJ_MAX in dupLink_priv.h from 4 to 5,
and add SYSTEM_LINK_ID_DUP_4 in system_linkId.h for more dupLink?

Would it cause any problem? or is there anything else need to be changed?

Thanks

  • The have change you have mentioned is correct. Make sure of the following additionally:

    1. By increasing the number of instances you are increasing the bss memory requirement so you may get a build failure.If you don't get any build time failure then there is no issue

    2. All link IDs _should_ be unique. When increasing the number of DupLinks ensure that you either reduce the number of common links by 1 or correctly set the last common linkID. Else it will cause some difficult to debug issues.