Skip to content

Commit 4644699

Browse files
aethanielcmaglie
authored andcommitted
Removing useless line in AnalogRead()
Signed-off-by: Thibaut VIARD <[email protected]>
1 parent 3c9072f commit 4644699

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cores/arduino/wiring_analog.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ uint32_t analogRead( uint32_t ulPin )
144144
syncDAC();
145145
}
146146

147-
pinPeripheral(ulPin, g_APinDescription[ulPin].ulPinType);
148-
149147
syncADC();
150148
ADC->INPUTCTRL.bit.MUXPOS = g_APinDescription[ulPin].ulADCChannelNumber; // Selection for the positive ADC input
151149

0 commit comments

Comments
 (0)