(minor) remove trailing spaces

This commit is contained in:
King Kévin 2019-03-26 19:27:40 +01:00
parent b4612b03bb
commit 230151a102
24 changed files with 170 additions and 171 deletions

View File

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

View File

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

View File

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