diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32f334/src/bin/opamp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f334/src/bin/opamp.rs b/examples/stm32f334/src/bin/opamp.rs index 137fc9e66..10e7b3543 100644 --- a/examples/stm32f334/src/bin/opamp.rs +++ b/examples/stm32f334/src/bin/opamp.rs | |||
| @@ -39,7 +39,7 @@ async fn main(_spawner: Spawner) -> ! { | |||
| 39 | 39 | ||
| 40 | let mut vrefint = adc.enable_vref(&mut Delay); | 40 | let mut vrefint = adc.enable_vref(&mut Delay); |
| 41 | let mut temperature = adc.enable_temperature(); | 41 | let mut temperature = adc.enable_temperature(); |
| 42 | let mut buffer = opamp.buffer_ext(&p.PA7, &mut p.PA6, OpAmpGain::Mul1); | 42 | let mut buffer = opamp.buffer_ext(&mut p.PA7, &mut p.PA6, OpAmpGain::Mul1); |
| 43 | 43 | ||
| 44 | loop { | 44 | loop { |
| 45 | let vref = adc.read(&mut vrefint).await; | 45 | let vref = adc.read(&mut vrefint).await; |
