aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-rp/src/clocks.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-rp/src/clocks.rs b/embassy-rp/src/clocks.rs
index 47e71c448..857877680 100644
--- a/embassy-rp/src/clocks.rs
+++ b/embassy-rp/src/clocks.rs
@@ -152,6 +152,7 @@ pub enum PeriClkSrc {
152/// 152///
153/// The voltage regulator can be configured for different output voltages. 153/// The voltage regulator can be configured for different output voltages.
154/// Higher voltages allow for higher clock frequencies but increase power consumption and heat. 154/// Higher voltages allow for higher clock frequencies but increase power consumption and heat.
155#[cfg(feature = "rp2040")]
155#[repr(u8)] 156#[repr(u8)]
156#[derive(Clone, Copy, Debug, PartialEq, Eq)] 157#[derive(Clone, Copy, Debug, PartialEq, Eq)]
157#[cfg_attr(feature = "defmt", derive(defmt::Format))] 158#[cfg_attr(feature = "defmt", derive(defmt::Format))]