aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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 {