We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c4b8fa commit 4c7caf3Copy full SHA for 4c7caf3
src/adc.rs
@@ -45,7 +45,6 @@ const MAX_ADVREGEN_STARTUP: Microseconds = Microseconds(10);
45
pub struct Adc<ADC> {
46
/// ADC Register
47
adc: ADC,
48
- clocks: Clocks,
49
operation_mode: Option<OperationMode>,
50
}
51
@@ -289,9 +288,9 @@ where
289
288
common_adc: &mut <ADC as Instance>::SharedInstance,
290
ahb: &mut AHB,
291
) -> Self {
+
292
let mut adc = Self {
293
adc,
294
- clocks,
295
operation_mode: None,
296
};
297
0 commit comments