aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-24 19:13:09 -0700
committerChristian Cunningham <cc@localhost>2022-03-24 19:13:09 -0700
commitab0252db26ff425b26ab6a2e0a2b359d2da2adea (patch)
tree0feb3aad19284ab501f4de1cec5326dca0bfb4fe /usr
parent9303b866bf36cfab8bdf3e2558f84e92ed4deec0 (diff)
Reordering
Diffstat (limited to 'usr')
-rw-r--r--usr/main.c8
1 files changed, 4 insertions, 4 deletions
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);