Re-enable the reset buttom on gpio0... seems I accidentally committed with the timer arm line commented out.

pull/30/head
Jeroen Domburg 9 years ago
parent 24159ef236
commit 30b17cc263
  1. 2
      user/io.c

@ -46,6 +46,6 @@ void ioInit() {
gpio_output_set(0, 0, (1<<LEDGPIO), (1<<BTNGPIO));
os_timer_disarm(&resetBtntimer);
os_timer_setfn(&resetBtntimer, resetBtnTimerCb, NULL);
// os_timer_arm(&resetBtntimer, 500, 1);
os_timer_arm(&resetBtntimer, 500, 1);
}

Loading…
Cancel
Save