From c6dbdc0f64985e19e4faa963bd1d4295cf55f9da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Przytu=C5=82a?= Date: Sun, 26 May 2024 19:43:11 +0200 Subject: [PATCH] components/console: use snake case for variables A code path hasn't probably been tested. Entering it leads to a warning about variables not following snake_case convention. --- boards/components/src/console.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/components/src/console.rs b/boards/components/src/console.rs index 2566daf224..9db208e5cc 100644 --- a/boards/components/src/console.rs +++ b/boards/components/src/console.rs @@ -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);