Debounce InterruptIn

Dependents:   led_sigfox Allumag_lampe_sigfox Case_study_02_Turnstile B18_MP3_PLAYER ... more

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