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
parent 60ba0e3b30
commit 41d6a4c3fa
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)