cleanup code
This commit is contained in:
parent
0556557d8b
commit
79b69334df
3 changed files with 14 additions and 13 deletions
|
@ -75,12 +75,7 @@ PROCESS_THREAD(arduino_sketch, ev, data)
|
|||
if(ev == sensors_event && data == &button_sensor) {
|
||||
mcu_sleep_off();
|
||||
PRINTF("*******BUTTON*******\n");
|
||||
|
||||
/* Call the event_handler for this application-specific event. */
|
||||
res_event.trigger();
|
||||
|
||||
/* Also call the separate response example handler. */
|
||||
res_separate.resume();
|
||||
button ();
|
||||
mcu_sleep_on();
|
||||
}
|
||||
#endif /* PLATFORM_HAS_BUTTON */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue