iBUS on AUX Serial is working

- implemented iBUS
- updated the Tabs to spaces
This commit is contained in:
EmanuelFeru
2020-12-06 15:21:39 +01:00
parent 6420960287
commit 570e11574e
16 changed files with 2566 additions and 1693 deletions

View File

@@ -118,8 +118,8 @@ void PendSV_Handler(void)
*/
void SysTick_Handler(void)
{
tick_count_increment();
delay_decrement();
tick_count_increment();
delay_decrement();
}
/*!
@@ -129,7 +129,7 @@ void SysTick_Handler(void)
\retval none
*/
void USART0_IRQHandler(void)
{
{
if(RESET != usart_interrupt_flag_get(USART0, USART_INT_FLAG_IDLE)) { // Check for IDLE line interrupt
usart_flag_clear(USART0, USART_FLAG_IDLE); // Clear IDLE line flag (otherwise it will continue to enter interrupt)
usart0_rx_check(); // Check for data to process
@@ -143,7 +143,7 @@ void USART0_IRQHandler(void)
\retval none
*/
void USART1_IRQHandler(void)
{
{
if(RESET != usart_interrupt_flag_get(USART1, USART_INT_FLAG_IDLE)) { // Check for IDLE line interrupt
usart_flag_clear(USART1, USART_FLAG_IDLE); // Clear IDLE line flag (otherwise it will continue to enter interrupt)
usart1_rx_check(); // Check for data to process