Error: global variable already exists
-
Hi all,
When re-running config.g after a change I get the follwowing error:
Error: in file config.g line 12: variable 'global.feed_torque' already exists
This doesn't happen after a powercycle.
The variable also contains the right value.
I'm on 3.5.0-rc.1, Duet 6HC+SBC
Does anyone know how to remedy this, it's not a problem at all but it's annoying.
-
@nikscha yes, do a check before hand e.g.
if !exists(global.feed_torque) global feed_torque = 0