mirror of
https://github.com/apache/nuttx.git
synced 2026-08-14 08:53:15 +00:00
MoxART: Trivial changes from code review
This commit is contained in:
parent
8de9d3f014
commit
9f4e033f4c
1 changed files with 2 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ void up_irqinitialize(void)
|
|||
*(volatile int *)0x98700000 |= 0x3f;
|
||||
|
||||
/* PMU setup */
|
||||
|
||||
(*(volatile uint32_t *)0x98100008) &= ~0x9;
|
||||
|
||||
while (!((*(volatile uint32_t *)0x98100008) & 0x2)) { ; }
|
||||
|
|
@ -127,6 +128,7 @@ void up_irqinitialize(void)
|
|||
current_regs = NULL;
|
||||
|
||||
/* Setup UART shared interrupt */
|
||||
|
||||
irq_attach(CONFIG_UART_MOXA_SHARED_IRQ, uart_decodeirq);
|
||||
up_enable_irq(CONFIG_UART_MOXA_SHARED_IRQ);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue