@@ -14,7 +14,6 @@ use stm32g4xx_hal::gpio::{self, GpioExt};
14
14
use stm32g4xx_hal:: opamp:: { self , Opamp1 , OpampEx } ;
15
15
use stm32g4xx_hal:: rcc:: { self , RccExt } ;
16
16
17
- use fugit:: { ExtU32 , HertzU32 , MicrosDurationU32 } ;
18
17
use hal:: stm32;
19
18
use stm32g4xx_hal as hal;
20
19
@@ -46,7 +45,7 @@ mod tests {
46
45
47
46
let sample_time = adc:: config:: SampleTime :: Cycles_640_5 ;
48
47
49
- // TODO: Seems a can not go lower than 50 with my device, offset error of opamp?
48
+ // TODO: Seems I can not go lower than 50 with my device, offset error of opamp?
50
49
for setpoint in [ 50 , 100 , 500 , 1000 , 2000 , 4095 ] {
51
50
value_dac. set_value ( setpoint) ;
52
51
delay. delay_ms ( 1 ) ;
@@ -77,7 +76,7 @@ mod tests {
77
76
78
77
let sample_time = adc:: config:: SampleTime :: Cycles_640_5 ;
79
78
80
- // TODO: Seems a can not go lower than 50 with my device, offset error of opamp?
79
+ // TODO: Seems I can not go lower than 50 with my device, offset error of opamp?
81
80
for setpoint in [ 50 , 100 , 500 , 1000 , 2000 , 4095 ] {
82
81
value_dac. set_value ( setpoint) ;
83
82
delay. delay_ms ( 1 ) ;
0 commit comments