summaryrefslogtreecommitdiffstats
path: root/app/ticker.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/ticker.c')
-rw-r--r--app/ticker.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/ticker.c b/app/ticker.c
index 3e25c12..6ef8a5f 100644
--- a/app/ticker.c
+++ b/app/ticker.c
@@ -22,6 +22,7 @@ s_tick_handler (void)
{
adc_tick ();
state_tick ();
+ crypto_tick ();
}
void
@@ -39,18 +40,14 @@ sys_tick_handler (void)
lcd_tick ();
#endif
- usb_tick();
+ usb_tick ();
-#if 1
s_count++;
if (s_count >= 1000)
{
s_count = 0;
s_tick_handler ();
}
-#else
- s_tick_handler ();
-#endif
}