projects
/
riscv_baremetal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8956fb1
)
main: clean up logging
author
Kit Rhett Aultman
<kit@kitaultman.com>
Sun, 30 Jun 2024 16:41:08 +0000
(12:41 -0400)
committer
Kit Rhett Aultman
<kit@kitaultman.com>
Mon, 22 Jul 2024 03:21:31 +0000
(23:21 -0400)
A practice I've used for years is to prefix all logging statements with
my name in all-caps. These provisional messages can then be easily
spotted and either kept (sans prefix) or removed. In my haste, though,
I missed one.
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index 99941dadb378ac01af9b79c18837f938da322b78..d322270ec938ce51cd414e1461c2f006f3c58ca8 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-65,7
+65,7
@@
extern "C" fn entry() -> ! {
// Init serial console
use crate::console;
console::init_console();
- println!("
KIT-- hello works from println!
");
+ println!("
Console init complete
");
// Init heap
use crate::heap;