aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-08-14 21:04:00 -0400
committerBrian Cully <bjc@kublai.com>2019-08-17 20:52:57 -0400
commit1b7e7ca454a42b8a933efd55ea2677ab57d46c9e (patch)
tree22c99cac360aed1d44d5a2a28ffdb12178317a60 /src
parentd4d1af6a7bce0a9d99faa4d5704211e18b2843ee (diff)
downloadatsamd-usb-host-1b7e7ca454a42b8a933efd55ea2677ab57d46c9e.tar.gz
atsamd-usb-host-1b7e7ca454a42b8a933efd55ea2677ab57d46c9e.zip
Update for starb 0.2
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 {