Skip to content

Commit 4c7caf3

Browse files
committed
Remove clocks from Adc struct
1 parent 4c4b8fa commit 4c7caf3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/adc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const MAX_ADVREGEN_STARTUP: Microseconds = Microseconds(10);
4545
pub struct Adc<ADC> {
4646
/// ADC Register
4747
adc: ADC,
48-
clocks: Clocks,
4948
operation_mode: Option<OperationMode>,
5049
}
5150

@@ -289,9 +288,9 @@ where
289288
common_adc: &mut <ADC as Instance>::SharedInstance,
290289
ahb: &mut AHB,
291290
) -> Self {
291+
292292
let mut adc = Self {
293293
adc,
294-
clocks,
295294
operation_mode: None,
296295
};
297296

0 commit comments

Comments
 (0)