Skip to content

Commit

Permalink
Merge pull request tock#4007 from wprzytula/fix-case-in-console-compo…
Browse files Browse the repository at this point in the history
…nent

components/console: use snake case for variables
  • Loading branch information
alevy authored May 27, 2024
2 parents ebbfdba + c6dbdc0 commit 91e78ea
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 91e78ea

Please sign in to comment.