Merge pull request #122 from logxen/edge

make direction[] in the EndStop module always be boolean