Removed detach() call in test case

pull/37/head
Toyomasa Watarai 2013-08-16 21:47:42 +09:00
parent c4ea5e6717
commit c26d2a990d
1 changed files with 0 additions and 2 deletions

View File

@ -25,14 +25,12 @@ void toggleOff (void);
void toggleOn (void) {
out = 1;
led = 1;
timer.detach();
timer.attach_us(toggleOff, 10000);
}
void toggleOff(void) {
out = 0;
led = 0;
timer.detach();
timer.attach_us(toggleOn, 30000);
}