capsules_extra::usb::cdc

Constant CDC_BUFFER_TIMEOUT_MS

Source
pub const CDC_BUFFER_TIMEOUT_MS: u32 = 10000;
Expand description

Number of ms to buffer uart transmissions before beginning to drop them.

This is useful in that it allows users time to connect over CDC without losing message, while still guaranteeing that blocking uart transmissions eventually get a callback even if a debug output is not connected.