The topology code generator currently optimizes away functions that are not called by the auto-generated setup function -- e.g., no loadParameters function is generated if there are no parameters and setup doesn't call loadParameters. This causes issues when users want to write a manual setup function, because the setup function has to change if the functions appear and disappear. The fix is to generate empty functions and call them.
The topology code generator currently optimizes away functions that are not called by the auto-generated
setup
function -- e.g., noloadParameters
function is generated if there are no parameters andsetup
doesn't callloadParameters
. This causes issues when users want to write a manualsetup
function, because the setup function has to change if the functions appear and disappear. The fix is to generate empty functions and call them.