diff options
author | Brian Cully <bjc@kublai.com> | 2019-08-14 21:04:00 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-08-17 20:52:57 -0400 |
commit | 1b7e7ca454a42b8a933efd55ea2677ab57d46c9e (patch) | |
tree | 22c99cac360aed1d44d5a2a28ffdb12178317a60 /examples | |
parent | d4d1af6a7bce0a9d99faa4d5704211e18b2843ee (diff) | |
download | atsamd-usb-host-1b7e7ca454a42b8a933efd55ea2677ab57d46c9e.tar.gz atsamd-usb-host-1b7e7ca454a42b8a933efd55ea2677ab57d46c9e.zip |
Update for starb 0.2
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simple/logger.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/logger.rs b/examples/simple/logger.rs index be9d391..9fbba77 100644 --- a/examples/simple/logger.rs +++ b/examples/simple/logger.rs @@ -36,7 +36,7 @@ impl fmt::Write for JoinedRingBuffer<'_> { } } -static mut LB: RingBuffer<u8> = RingBuffer::<u8>::new(0); +static mut LB: RingBuffer<u8> = RingBuffer::<u8>::new(); static mut JRB: JoinedRingBuffer = unsafe { JoinedRingBuffer::new(&LB) }; // The UART isn't necessarily Sync, so wrap it in something that |