Skip to content

Commit 7863bdb

Browse files
aykevldeadprogram
authored andcommitted
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.
1 parent 5c3363b commit 7863bdb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/machine/machine_nrf52xxx.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ func (a *ADC) Get() uint16 {
141141
}
142142

143143
// Set pin to read.
144-
nrf.SAADC.CH[0].PSELN.Set(pwmPin)
145144
nrf.SAADC.CH[0].PSELP.Set(pwmPin)
146145

147146
// Destination for sample result.

0 commit comments

Comments
 (0)