aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-24 19:10:02 -0700
committerChristian Cunningham <cc@localhost>2022-03-24 19:10:02 -0700
commit9303b866bf36cfab8bdf3e2558f84e92ed4deec0 (patch)
treec79cee644108ecb65952eff2104127a19e72d0c4 /usr
parent180dfed61505cfe944755f7078d7b29063ea7734 (diff)
Unused counter
Diffstat (limited to 'usr')
-rw-r--r--usr/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/main.c b/usr/main.c
index 6eecc7c..56ddbcb 100644
--- a/usr/main.c
+++ b/usr/main.c
@@ -41,8 +41,4 @@ void main(void)
subscribe_irq(SYS_TIMER_2_IRQ, loopt, &stime_2);
subscribe_irq(SYS_TIMER_3_IRQ, loopt, &stime_3);
add_thread(loop, 0, 0);
- unsigned long long counter;
- asm volatile ("mrrc p15, 0, %0, c14" : "=r"(counter));
- draw_hex32(0, 20, counter>>32);
- draw_hex32(9, 20, counter);
}