adc: update drivers with ADC to use new config struct

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2021-02-01 12:43:40 +01:00
committed by Daniel Esteban
parent 008157b6c9
commit c64d7920dc
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func New(pin machine.Pin) Device {
// Configure configures the ADC pin used for the thermistor.
func (d *Device) Configure() {
d.adc.Configure()
d.adc.Configure(machine.ADCConfig{})
}
// ReadTemperature returns the temperature in celsius milli degrees (°C/1000)