nrf: don't set PSELN, it's ignored in single ended mode anyway

We use single ended mode, so according to the datasheet PSELN is
ignored.
This commit is contained in:
Ayke van Laethem
2025-11-30 11:12:58 +01:00
committed by Ron Evans
parent 5c3363bf25
commit 7863bdb484
-1
View File
@@ -141,7 +141,6 @@ func (a *ADC) Get() uint16 {
}
// Set pin to read.
nrf.SAADC.CH[0].PSELN.Set(pwmPin)
nrf.SAADC.CH[0].PSELP.Set(pwmPin)
// Destination for sample result.