From 1b7e7ca454a42b8a933efd55ea2677ab57d46c9e Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Wed, 14 Aug 2019 21:04:00 -0400 Subject: Update for starb 0.2 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index c4285fb..1d6db93 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,7 +34,7 @@ type EventWriter = Writer<'static, Event>; const NAK_LIMIT: usize = 15; // Ring buffer for sharing events from interrupt context. -static mut EVENTS: Events = Events::new(Event::Error); +static mut EVENTS: Events = Events::new(); #[derive(Clone, Copy, Debug, PartialEq)] enum DetachedState { -- cgit v1.2.3