remove LED toggle debug
This commit is contained in:
parent
c1efb819a5
commit
91fd87c701
|
@ -514,9 +514,7 @@ void tim4_isr(void)
|
||||||
void tim5_isr(void)
|
void tim5_isr(void)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
//gpio_toggle(LED_PORT, LED_PIN);
|
|
||||||
if (timer_get_flag(VFD_TIMER, TIM_SR_UIF)) { // overflow even happened
|
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
|
timer_clear_flag(VFD_TIMER, TIM_SR_UIF); // clear flag
|
||||||
spi_i = 0; // set the register to shift out
|
spi_i = 0; // set the register to shift out
|
||||||
spi_enable_tx_buffer_empty_interrupt(VFD_SPI); // enable TX empty interrupt
|
spi_enable_tx_buffer_empty_interrupt(VFD_SPI); // enable TX empty interrupt
|
||||||
|
|
Loading…
Reference in New Issue