summaryrefslogtreecommitdiffstats
path: root/usb/src
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-08-15 20:45:14 -0400
committerBrian Cully <bjc@kublai.com>2019-08-15 20:45:14 -0400
commita3b976df4b1214c6f4e2a053724398b1a5e1767b (patch)
tree4bef3957143034fb1f2350c4dda17225ee458867 /usb/src
parentda405029113f9c188313b9477f4dc13aa3ab52f9 (diff)
downloadbleusb-a3b976df4b1214c6f4e2a053724398b1a5e1767b.tar.gz
bleusb-a3b976df4b1214c6f4e2a053724398b1a5e1767b.zip
Change usb app name to usb, update to starb 0.2.
Diffstat (limited to 'usb/src')
-rw-r--r--usb/src/logger.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb/src/logger.rs b/usb/src/logger.rs
index be9d391..9fbba77 100644
--- a/usb/src/logger.rs
+++ b/usb/src/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