Improve the handling of multi-turn resolvers in the hm2 driver. You now get the same zero registered as an index in both directions, and you need to pass the zero in the same direction the requisite number of times.
Improve the handling of multi-turn resolvers in the hm2 driver.
You now get the same zero registered as an index in both directions,
and you need to pass the zero in the same direction the requisite number of times.


Signed-off-by: Andy Pugh <e3579b1e47f273529f0f929453e939a68ede9fd1@bodgesoc.org>

aschiffler/linuxcnc,Cid427/machinekit,bmwiedemann/linuxcnc-mirror,ArcEye/MK-Qt5,araisrobo/machinekit,unseenlaser/machinekit,unseenlaser/machinekit,narogon/linuxcnc,strahlex/machinekit,RunningLight/machinekit,ArcEye/MK-Qt5,ArcEye/machinekit-testing,EqAfrica/machinekit,EqAfrica/machinekit,ArcEye/machinekit-testing,mhaberler/machinekit,bmwiedemann/linuxcnc-mirror,EqAfrica/machinekit,aschiffler/linuxcnc,mhaberler/machinekit,ArcEye/MK-Qt5,cdsteinkuehler/MachineKit,ikcalB/linuxcnc-mirror,mhaberler/machinekit,Cid427/machinekit,araisrobo/machinekit,bobvanderlinden/machinekit,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ArcEye/machinekit-testing,cdsteinkuehler/linuxcnc,ArcEye/MK-Qt5,ArcEye/machinekit-testing,EqAfrica/machinekit,RunningLight/machinekit,Cid427/machinekit,bmwiedemann/linuxcnc-mirror,bobvanderlinden/machinekit,ArcEye/MK-Qt5,unseenlaser/machinekit,EqAfrica/machinekit,ArcEye/machinekit-testing,araisrobo/machinekit,mhaberler/machinekit,EqAfrica/machinekit,strahlex/machinekit,narogon/linuxcnc,bobvanderlinden/machinekit,RunningLight/machinekit,RunningLight/machinekit,bobvanderlinden/machinekit,unseenlaser/machinekit,cdsteinkuehler/linuxcnc,Cid427/machinekit,araisrobo/machinekit,Cid427/machinekit,kinsamanka/machinekit,EqAfrica/machinekit,cdsteinkuehler/linuxcnc,EqAfrica/machinekit,unseenlaser/machinekit,bobvanderlinden/machinekit,unseenlaser/linuxcnc,Cid427/machinekit,unseenlaser/linuxcnc,aschiffler/linuxcnc,strahlex/machinekit,Cid427/machinekit,cdsteinkuehler/MachineKit,ArcEye/machinekit-testing,bobvanderlinden/machinekit,cdsteinkuehler/MachineKit,mhaberler/machinekit,narogon/linuxcnc,aschiffler/linuxcnc,mhaberler/machinekit,kinsamanka/machinekit,bobvanderlinden/machinekit,bmwiedemann/linuxcnc-mirror,cdsteinkuehler/MachineKit,RunningLight/machinekit,ArcEye/MK-Qt5,narogon/linuxcnc,kinsamanka/machinekit,strahlex/machinekit,unseenlaser/linuxcnc,bobvanderlinden/machinekit,araisrobo/machinekit,araisrobo/machinekit,araisrobo/machinekit,cdsteinkuehler/MachineKit,cdsteinkuehler/linuxcnc,unseenlaser/machinekit,unseenlaser/machinekit,unseenlaser/linuxcnc,kinsamanka/machinekit,narogon/linuxcnc,araisrobo/machinekit,ArcEye/machinekit-testing,bmwiedemann/linuxcnc-mirror,strahlex/machinekit,kinsamanka/machinekit,RunningLight/machinekit,RunningLight/machinekit,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,strahlex/machinekit,bmwiedemann/linuxcnc-mirror,unseenlaser/linuxcnc,strahlex/machinekit,ArcEye/machinekit-testing,ikcalB/linuxcnc-mirror,mhaberler/machinekit,mhaberler/machinekit,Cid427/machinekit,araisrobo/machinekit,cdsteinkuehler/linuxcnc,ArcEye/MK-Qt5,kinsamanka/machinekit,kinsamanka/machinekit,ikcalB/linuxcnc-mirror,unseenlaser/machinekit,bmwiedemann/linuxcnc-mirror,aschiffler/linuxcnc,RunningLight/machinekit,cdsteinkuehler/MachineKit,ArcEye/MK-Qt5,cdsteinkuehler/linuxcnc,kinsamanka/machinekit