summaryrefslogtreecommitdiffstats
path: root/usb/src
diff options
context:
space:
mode:
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