Commit 9a86a161 authored by Erik Strand's avatar Erik Strand

Remove another irrelevant #if

By grepping for REMAP_ANALOG_PIN_ID in the core, it looks like the
definition for the 14 pin SAMD11 is commented out, and the definition
for the 20 pin SAMD11 is a no-op.
parent 6b853437
......@@ -34,10 +34,6 @@ uint32_t bm_analogRead( uint32_t pin )
// initADC();
//}
#if defined(REMAP_ANALOG_PIN_ID)
REMAP_ANALOG_PIN_ID(pin);
#endif
// pinPeripheral now handles disabling the DAC (if active)
if ( pinPeripheral(pin, PIO_ANALOG_ADC) == RET_STATUS_OK )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment