mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-29 21:31:17 +00:00
Fix a typo in the match stmt
This commit is contained in:
parent
9f65b7a6d9
commit
99033bb106
@ -276,7 +276,7 @@ pub mod config {
|
|||||||
#[cfg(esp_idf_soc_uart_support_xtal_clk)]
|
#[cfg(esp_idf_soc_uart_support_xtal_clk)]
|
||||||
XTAL_SCLK => SourceClock::Crystal,
|
XTAL_SCLK => SourceClock::Crystal,
|
||||||
#[cfg(esp_idf_soc_uart_support_pll_f80m_clk)]
|
#[cfg(esp_idf_soc_uart_support_pll_f80m_clk)]
|
||||||
PLL_F80M => SourceClock::PLL_F80M,
|
PLL_F80M_SCLK => SourceClock::PLL_F80M,
|
||||||
#[cfg(esp_idf_soc_uart_support_ref_tick)]
|
#[cfg(esp_idf_soc_uart_support_ref_tick)]
|
||||||
REF_TICK_SCLK => SourceClock::RefTick,
|
REF_TICK_SCLK => SourceClock::RefTick,
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user