From 87015d0256e5c3888681da6d469e515b58efbb5f Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Wed, 24 Jul 2019 17:35:24 -0400 Subject: Use log crate instead of hand-rolled solution. * Remove my logging macros except *_now variants, since those are still handy. * Move log flush into RTC handler. This probably belongs in a separate timer at some point. * Change all old log messages to log crate's macros, except the Panic and HardFault calls. --- rb/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rb/src') diff --git a/rb/src/lib.rs b/rb/src/lib.rs index d51bb26..23f2947 100755 --- a/rb/src/lib.rs +++ b/rb/src/lib.rs @@ -19,7 +19,7 @@ use core::{ /// time so it can be statically allocated or created on the stack. /// /// This will disappear when const generics appear. -const CAPACITY: usize = 256; +const CAPACITY: usize = 1024; #[derive(Debug, PartialEq)] pub enum Error { -- cgit v1.2.3