diff options
author | root <root@lamia.panaceas.james.local> | 2016-08-20 14:04:59 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2016-08-20 14:04:59 +0100 |
commit | b063a2da3024a2e3175e1ba9b0a87cb6c7470765 (patch) | |
tree | f5c90c4119b091876a3f53acf4e581316eec4926 /app/ticker.c | |
parent | bc832d6d342922a828aebb997d1d9c6626898487 (diff) | |
download | candlestick-b063a2da3024a2e3175e1ba9b0a87cb6c7470765.tar.gz candlestick-b063a2da3024a2e3175e1ba9b0a87cb6c7470765.tar.bz2 candlestick-b063a2da3024a2e3175e1ba9b0a87cb6c7470765.zip |
candlestick
Diffstat (limited to 'app/ticker.c')
-rw-r--r-- | app/ticker.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/app/ticker.c b/app/ticker.c index 6ef8a5f..84e3e9a 100644 --- a/app/ticker.c +++ b/app/ticker.c @@ -17,18 +17,9 @@ delay_us (uint32_t d) } } -static void -s_tick_handler (void) -{ - adc_tick (); - state_tick (); - crypto_tick (); -} - void sys_tick_handler (void) { - static int s_count; if (delay_ms_count) delay_ms_count--; @@ -36,18 +27,13 @@ sys_tick_handler (void) ticks++; led_tick (); + #ifndef SLIM lcd_tick (); #endif usb_tick (); - s_count++; - if (s_count >= 1000) - { - s_count = 0; - s_tick_handler (); - } } |