aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-03 12:34:04 -0700
committerChristian Cunningham <cc@localhost>2021-12-03 12:34:04 -0700
commit7bc249d674be59cf60eee6a7573c11ddfe79528e (patch)
tree4997323716b69793ffe78c1e87e1cb7652664e69
parent7fba50828742efffc55bfdf2847c6a19eecc669c (diff)
More descriptive output
-rw-r--r--src/lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.c b/src/lib.c
index 15f5c80..9816bd4 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -75,7 +75,7 @@ void c_timer() {
write_cntv_tval(cntfrq);
// Output the value
- uart_string((char*)"CNTV_TVAL: ");
+ uart_string((char*)"Timer Value: ");
uart_hexn(read_cntv_tval());
}
@@ -111,11 +111,11 @@ void chk_irq_stat() {
if (ib_val & (1<<0)) {
uart_string(irq_on);
// Output the frequency
- uart_string((char*)" w/ CNTFRQ : ");
+ uart_string((char*)" Frequency : ");
cntfrq = read_cntfrq();
//uart_hexn(cntfrq);
uart_10(cntfrq);
- uart_char(0x0a);
+ uart_string((char*)" Hz\n");
} else {
uart_string(irq_off);
}