made compatible w/ 3 jumper pos in mag switch

modified the timing to make the code compatible with all three jumper
positions in the magnetic/proximity switch