aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKing Kévin <kingkevin@cuvoodoo.info>2016-01-26 10:01:31 +0100
committerKing Kévin <kingkevin@cuvoodoo.info>2016-01-26 10:01:31 +0100
commit91fd87c70145e86076df654691b73f974718ed7f (patch)
tree70a69d0d30d10915a402e5a288d29b0e35062646
parentc1efb819a53831bf4c51a0fe1d508edc497b9816 (diff)
remove LED toggle debug
-rw-r--r--lib/vfd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/vfd.c b/lib/vfd.c
index 46a0e50..8fa5b62 100644
--- a/lib/vfd.c
+++ b/lib/vfd.c
@@ -514,9 +514,7 @@ void tim4_isr(void)
void tim5_isr(void)
#endif
{
- //gpio_toggle(LED_PORT, LED_PIN);
if (timer_get_flag(VFD_TIMER, TIM_SR_UIF)) { // overflow even happened
- gpio_toggle(LED_PORT, LED_PIN);
timer_clear_flag(VFD_TIMER, TIM_SR_UIF); // clear flag
spi_i = 0; // set the register to shift out
spi_enable_tx_buffer_empty_interrupt(VFD_SPI); // enable TX empty interrupt