Skip to content

Commit

Permalink
components/console: use snake case for variables
Browse files Browse the repository at this point in the history
A code path hasn't probably been tested. Entering it leads to a warning
about variables not following snake_case convention.
  • Loading branch information
wprzytula committed May 26, 2024
1 parent 0785962 commit c6dbdc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boards/components/src/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ macro_rules! uart_mux_component_static {
($rx_buffer_len: expr) => {{
use capsules_core::virtualizers::virtual_uart::MuxUart;
use kernel::static_buf;
let UART_MUX = static_buf!(MuxUart<'static>);
let RX_BUF = static_buf!([u8; $rx_buffer_len]);
(UART_MUX, RX_BUF)
let uart_mux = static_buf!(MuxUart<'static>);
let rx_buf = static_buf!([u8; $rx_buffer_len]);
(uart_mux, rx_buf)
}};
() => {
$crate::uart_mux_component_static!(capsules_core::virtualizers::virtual_uart::RX_BUF_LEN);
Expand Down

0 comments on commit c6dbdc0

Please sign in to comment.