Avoiding Stack Pop After Macro Return

  • Hello,

    I am currently using a Duet board and I'm trying to use nested macros to simplify the homing process. I want the homeall.g file to call the homex,homey and homez.g files. However, because the firmware pops the stack after returning from a nested macro, none of the settings configured in the nested macro are saved. Is there a way to get around this and still be able to use nested macros to save settings?


Log in to reply