diff options
author | Christian Cunningham <cc@localhost> | 2022-03-24 19:13:09 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-24 19:13:09 -0700 |
commit | ab0252db26ff425b26ab6a2e0a2b359d2da2adea (patch) | |
tree | 0feb3aad19284ab501f4de1cec5326dca0bfb4fe | |
parent | 9303b866bf36cfab8bdf3e2558f84e92ed4deec0 (diff) |
Reordering
-rw-r--r-- | usr/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |