WizziLab / DebouncedInterrupt

Dependents:   D7A_Demo-Get-started CVtoOSCConverter EE3501keypad D7A_Localisation ... more

Fork of DebouncedInterrupt by Anil Kandangath

Files at this revision

API Documentation at this revision

Comitter:
kandangath
Date:
Tue Feb 18 06:46:06 2014 +0000
Parent:
5:3c0f741fb448
Child:
7:2d73e219dadf
Commit message:
Remove unnecessary detach

Changed in this revision

DebounceInterrupts.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/DebounceInterrupts.cpp	Tue Feb 18 06:19:42 2014 +0000
+++ b/DebounceInterrupts.cpp	Tue Feb 18 06:46:06 2014 +0000
@@ -29,6 +29,5 @@
 
 void DebounceInterrupts::_onInterrupt()
 {
-    timeout.detach();
     timeout.attach_us(fCallback,fDebounce_us);
 }
\ No newline at end of file