fix for cam case (d was two times in code); stop to set mechanical limit

Signed-off-by: TheTesla <stefan.helmert@gmx.net>