mirror of
https://github.com/EFeru/hoverboard-sideboard-hack-GD.git
synced 2026-02-17 15:41:08 +00:00
iBUS on AUX Serial is working
- implemented iBUS - updated the Tabs to spaces
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user