Skip to content

Commit e6ffd7c

Browse files
committed
cleanup
1 parent 2886020 commit e6ffd7c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/nucleo-g474_w_jumpers.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ use stm32g4xx_hal::gpio::{self, GpioExt};
1414
use stm32g4xx_hal::opamp::{self, Opamp1, OpampEx};
1515
use stm32g4xx_hal::rcc::{self, RccExt};
1616

17-
use fugit::{ExtU32, HertzU32, MicrosDurationU32};
1817
use hal::stm32;
1918
use stm32g4xx_hal as hal;
2019

@@ -46,7 +45,7 @@ mod tests {
4645

4746
let sample_time = adc::config::SampleTime::Cycles_640_5;
4847

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?
5049
for setpoint in [50, 100, 500, 1000, 2000, 4095] {
5150
value_dac.set_value(setpoint);
5251
delay.delay_ms(1);
@@ -77,7 +76,7 @@ mod tests {
7776

7877
let sample_time = adc::config::SampleTime::Cycles_640_5;
7978

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?
8180
for setpoint in [50, 100, 500, 1000, 2000, 4095] {
8281
value_dac.set_value(setpoint);
8382
delay.delay_ms(1);

0 commit comments

Comments
 (0)