(minor) remove trailing spaces
This commit is contained in:
parent
b4612b03bb
commit
230151a102
|
@ -97,7 +97,6 @@ static void microwire_master_wait_clock(void)
|
|||
}
|
||||
timer_clear_flag(TIM(MICROWIRE_MASTER_TIMER), TIM_SR_UIF); // clear timer flag
|
||||
nvic_clear_pending_irq(NVIC_TIM_IRQ(MICROWIRE_MASTER_TIMER)); // clear IRQ flag (else event doesn't wake up)
|
||||
|
||||
}
|
||||
|
||||
/** send bit over microwire
|
||||
|
|
|
@ -439,7 +439,7 @@ void usb_cdcacm_setup(void)
|
|||
usbd_register_set_config_callback(usb_device, usb_cdcacm_set_config);
|
||||
nvic_enable_irq(NVIC_USB_LP_CAN_RX0_IRQ); // enable interrupts (to not have to poll all the time)
|
||||
|
||||
// reset buffer states
|
||||
// reset buffer states
|
||||
tx_i = 0;
|
||||
tx_used = 0;
|
||||
tx_lock = false; // release lock
|
||||
|
|
|
@ -454,7 +454,7 @@ void vfd_setup(void)
|
|||
spi_enable_software_slave_management(VFD_SPI);
|
||||
spi_set_nss_high(VFD_SPI); // set NSS high
|
||||
|
||||
nvic_enable_irq(VFD_SPI_IRQ); // enable SPI interrupt
|
||||
nvic_enable_irq(VFD_SPI_IRQ); // enable SPI interrupt
|
||||
spi_enable(VFD_SPI); // enable SPI (the tx empty interrupt will trigger)
|
||||
|
||||
/* setup timer to refresh display */
|
||||
|
|
Loading…
Reference in New Issue