Fix debounce.  I forgot these bits in my last commit.
Fix debounce.  I forgot these bits in my last commit.

Submitted by:	 Mathew Kanner <mat@cnd.mcgill.ca>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase