Bläddra i källkod

Fix AudioOutputAnalogStereo analogReference

dds
PaulStoffregen 8 år sedan
förälder
incheckning
f71a40bb31
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. +2
    -0
      output_dacs.cpp

+ 2
- 0
output_dacs.cpp Visa fil

// TODO: this should ramp gradually to the new DC level // TODO: this should ramp gradually to the new DC level
if (ref == INTERNAL) { if (ref == INTERNAL) {
DAC0_C0 &= ~DAC_C0_DACRFS; // 1.2V DAC0_C0 &= ~DAC_C0_DACRFS; // 1.2V
DAC1_C0 &= ~DAC_C0_DACRFS;
} else { } else {
DAC0_C0 |= DAC_C0_DACRFS; // 3.3V DAC0_C0 |= DAC_C0_DACRFS; // 3.3V
DAC1_C0 |= DAC_C0_DACRFS;
} }
} }



Laddar…
Avbryt
Spara