From: Chris R. <gi...@gi...> - 2013-01-26 17:34:12
|
make sure the new pid mode defaults to off http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=5f7a0bd --- src/hal/components/pid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hal/components/pid.c b/src/hal/components/pid.c index fd7454d..1e3da26 100644 --- a/src/hal/components/pid.c +++ b/src/hal/components/pid.c @@ -644,6 +644,7 @@ static int export_pid(hal_pid_t * addr, char * prefix) *(addr->cmd_dd) = 0.0; /* init all structure members */ *(addr->enable) = 0; + *(addr->error_previous_target) = 0; *(addr->command) = 0; *(addr->feedback) = 0; *(addr->error) = 0; |