hal: fixed some minor bugs in watchdog component
hal: fixed some minor bugs in watchdog component

Signed-off-by: Michael Geszkiewicz <1353f14f196456fb320ac2b8adb59fdfeedb558b@wp.pl>

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