From ab0252db26ff425b26ab6a2e0a2b359d2da2adea Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 24 Mar 2022 19:13:09 -0700 Subject: Reordering --- usr/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr/main.c') diff --git a/usr/main.c b/usr/main.c index 56ddbcb..835cedf 100644 --- a/usr/main.c +++ b/usr/main.c @@ -23,16 +23,16 @@ static struct SysTimerInfo stime_2 = { .arg = 0, }; -static struct UartInfo UART_INFO = { - .priority = 2, -}; - static struct SysTimerInfo stime_3 = { .tick_rate = 70000, .priority = 0, .arg = 0, }; +static struct UartInfo UART_INFO = { + .priority = 2, +}; + void main(void) { subscribe_irq(UART_IRQ, handle_data, &UART_INFO); -- cgit v1.2.1