mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-20 20:39:06 +00:00
move nRF52 ADC methods to common machine file
This commit is contained in:
@@ -17,7 +17,7 @@ func InitADC() {
|
||||
}
|
||||
|
||||
// Configure configures an ADC pin to be able to read analog data.
|
||||
func (a ADC) Configure() {
|
||||
func (a ADC) Configure(ADCConfig) {
|
||||
return // no pin specific setup on nrf52 machine.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user