Skip to content

Commit 00904a9

Browse files
committed
chore(src/machine/nrf52xxx): align formatting
Signed-off-by: Paul Schroeder <milkpirate@users.noreply.github.com>
1 parent 17302ca commit 00904a9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/machine/machine_nrf52xxx.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,28 +110,20 @@ func (a ADC) Get() uint16 {
110110
switch a.Pin {
111111
case 2:
112112
pwmPin = nrf.SAADC_CH_PSELP_PSELP_AnalogInput0
113-
114113
case 3:
115114
pwmPin = nrf.SAADC_CH_PSELP_PSELP_AnalogInput1
116-
117115
case 4:
118116
pwmPin = nrf.SAADC_CH_PSELP_PSELP_AnalogInput2
119-
120117
case 5:
121118
pwmPin = nrf.SAADC_CH_PSELP_PSELP_AnalogInput3
122-
123119
case 28:
124120
pwmPin = nrf.SAADC_CH_PSELP_PSELP_AnalogInput4
125-
126121
case 29:
127122
pwmPin = nrf.SAADC_CH_PSELP_PSELP_AnalogInput5
128-
129123
case 30:
130124
pwmPin = nrf.SAADC_CH_PSELP_PSELP_AnalogInput6
131-
132125
case 31:
133126
pwmPin = nrf.SAADC_CH_PSELP_PSELP_AnalogInput7
134-
135127
default:
136128
return 0
137129
}

0 commit comments

Comments
 (0)