remove LED toggle debug

master
King Kévin 7 years ago
parent c1efb819a5
commit 91fd87c701
  1. 2
      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

Loading…
Cancel
Save