fix following error when inverting servo motor direction
fix following error when inverting servo motor direction

maxoutput was getting negated when servo motor was inverted

strahlex/machinekit,mhaberler/machinekit,EqAfrica/machinekit,ikcalB/linuxcnc-mirror,Cid427/machinekit,unseenlaser/machinekit,ArcEye/MK-Qt5,ianmcmahon/linuxcnc-mirror,unseenlaser/machinekit,araisrobo/linuxcnc,unseenlaser/machinekit,RunningLight/machinekit,unseenlaser/machinekit,strahlex/machinekit,cdsteinkuehler/MachineKit,EqAfrica/machinekit,araisrobo/linuxcnc,Cid427/machinekit,araisrobo/linuxcnc,kinsamanka/machinekit,strahlex/machinekit,cnc-club/linuxcnc,aschiffler/linuxcnc,cdsteinkuehler/linuxcnc,unseenlaser/linuxcnc,narogon/linuxcnc,Cid427/machinekit,RunningLight/machinekit,jaguarcat79/ILC-with-LinuxCNC,ianmcmahon/linuxcnc-mirror,ikcalB/linuxcnc-mirror,EqAfrica/machinekit,strahlex/machinekit,EqAfrica/machinekit,bobvanderlinden/machinekit,kinsamanka/machinekit,bobvanderlinden/machinekit,cnc-club/linuxcnc,bmwiedemann/linuxcnc-mirror,EqAfrica/machinekit,bobvanderlinden/machinekit,ianmcmahon/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,ArcEye/machinekit-testing,aschiffler/linuxcnc,araisrobo/machinekit,ikcalB/linuxcnc-mirror,unseenlaser/machinekit,bobvanderlinden/machinekit,Cid427/machinekit,kinsamanka/machinekit,bobvanderlinden/machinekit,kinsamanka/machinekit,RunningLight/machinekit,ArcEye/machinekit-testing,narogon/linuxcnc,kinsamanka/machinekit,jaguarcat79/ILC-with-LinuxCNC,araisrobo/machinekit,strahlex/machinekit,Cid427/machinekit,mhaberler/machinekit,ArcEye/MK-Qt5,Cid427/machinekit,strahlex/machinekit,mhaberler/machinekit,ArcEye/MK-Qt5,kinsamanka/machinekit,ArcEye/MK-Qt5,narogon/linuxcnc,unseenlaser/linuxcnc,Cid427/machinekit,ikcalB/linuxcnc-mirror,cnc-club/linuxcnc,unseenlaser/machinekit,mhaberler/machinekit,cdsteinkuehler/MachineKit,EqAfrica/machinekit,bmwiedemann/linuxcnc-mirror,araisrobo/machinekit,bobvanderlinden/machinekit,bobvanderlinden/machinekit,ArcEye/machinekit-testing,araisrobo/machinekit,cdsteinkuehler/linuxcnc,unseenlaser/linuxcnc,unseenlaser/machinekit,cdsteinkuehler/MachineKit,RunningLight/machinekit,bobvanderlinden/machinekit,jaguarcat79/ILC-with-LinuxCNC,bmwiedemann/linuxcnc-mirror,mhaberler/machinekit,ArcEye/MK-Qt5,cnc-club/linuxcnc,strahlex/machinekit,aschiffler/linuxcnc,cnc-club/linuxcnc,cnc-club/linuxcnc,unseenlaser/linuxcnc,cdsteinkuehler/MachineKit,cnc-club/linuxcnc,cdsteinkuehler/MachineKit,cdsteinkuehler/linuxcnc,ianmcmahon/linuxcnc-mirror,ArcEye/machinekit-testing,RunningLight/machinekit,ikcalB/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,araisrobo/machinekit,araisrobo/machinekit,aschiffler/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,cdsteinkuehler/linuxcnc,unseenlaser/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,unseenlaser/machinekit,narogon/linuxcnc,araisrobo/linuxcnc,RunningLight/machinekit,ArcEye/machinekit-testing,kinsamanka/machinekit,ArcEye/MK-Qt5,ikcalB/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,cdsteinkuehler/MachineKit,cdsteinkuehler/linuxcnc,cdsteinkuehler/linuxcnc,mhaberler/machinekit,bmwiedemann/linuxcnc-mirror,EqAfrica/machinekit,narogon/linuxcnc,RunningLight/machinekit,Cid427/machinekit,aschiffler/linuxcnc,mhaberler/machinekit,ArcEye/machinekit-testing,EqAfrica/machinekit,bmwiedemann/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,ArcEye/MK-Qt5,ArcEye/machinekit-testing,araisrobo/machinekit,araisrobo/machinekit,araisrobo/machinekit,mhaberler/machinekit,ArcEye/MK-Qt5,araisrobo/linuxcnc,RunningLight/machinekit,ArcEye/machinekit-testing,kinsamanka/machinekit