aboutsummaryrefslogtreecommitdiffstats
path: root/rb
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-07-24 17:35:24 -0400
committerBrian Cully <bjc@kublai.com>2019-07-24 17:35:24 -0400
commit87015d0256e5c3888681da6d469e515b58efbb5f (patch)
treedcab0ddbe85a09b988808ce00729bf1cdd3927c9 /rb
parentcd47fb1f4887ea863b7e90d476a8366634ce9980 (diff)
downloadsamd21-demo-87015d0256e5c3888681da6d469e515b58efbb5f.tar.gz
samd21-demo-87015d0256e5c3888681da6d469e515b58efbb5f.zip
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.
Diffstat (limited to 'rb')
-rwxr-xr-xrb/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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 {