Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions cores/arduino/wiring_analog.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ int analogRead(pin_size_t pin)
{
uint32_t valueRead = 0;

if (pin < A0) {
pin += A0;
}

pinPeripheral(pin, PIO_ANALOG);

// Disable DAC, if analogWrite() was used previously to enable the DAC
Expand Down
Loading