We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ac931 commit 79fc15cCopy full SHA for 79fc15c
cores/arduino/wiring_analog.c
@@ -406,8 +406,6 @@ void analogWrite(uint32_t pin, uint32_t value)
406
407
// ATSAMR, for example, doesn't have a DAC
408
#ifdef DAC
409
-
410
-<<<<<<< HEAD
411
if ((attr & PIN_ATTR_ANALOG) == PIN_ATTR_ANALOG)
412
{
413
// DAC handling code
@@ -416,11 +414,6 @@ void analogWrite(uint32_t pin, uint32_t value)
416
414
#else
417
415
if (pin == PIN_A0) { // Only 1 DAC on A0 (PA02)
418
#endif
419
-=======
420
- if ((pinDesc.ulADCChannelNumber != ADC_Channel0) && (pinDesc.ulADCChannelNumber != DAC_Channel0)) { // Only 1 DAC on AIN0 / PA02
421
- return;
422
- }
423
->>>>>>> 07c2e57fe4d5001ad29feb7a67f04f1537ddcf78
424
425
#if defined(__SAMD51__)
426
0 commit comments