forked from M-Labs/thermostat
channels: fix doc
This commit is contained in:
parent
9f70ef2e0a
commit
f3ec96f425
|
@ -252,7 +252,7 @@ impl Channels {
|
||||||
|
|
||||||
/// Calibrate the I_SET DAC using the DAC_FB ADC pin.
|
/// Calibrate the I_SET DAC using the DAC_FB ADC pin.
|
||||||
///
|
///
|
||||||
/// These loops perform a width-first search for the DAC setting
|
/// These loops perform a breadth-first search for the DAC setting
|
||||||
/// that will produce a `target_voltage`.
|
/// that will produce a `target_voltage`.
|
||||||
pub fn calibrate_dac_value(&mut self, channel: usize) {
|
pub fn calibrate_dac_value(&mut self, channel: usize) {
|
||||||
let target_voltage = ElectricPotential::new::<volt>(2.5);
|
let target_voltage = ElectricPotential::new::<volt>(2.5);
|
||||||
|
|
Loading…
Reference in New Issue