aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
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);