remove LED toggle debug

master
King Kévin 2016-01-26 10:01:31 +01:00
parent c1efb819a5
commit 91fd87c701
1 changed files with 0 additions and 2 deletions

View File

@ -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