Explorar el Código

Fix AudioOutputAnalogStereo analogReference

dds
PaulStoffregen hace 9 años
padre
commit
f71a40bb31
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      output_dacs.cpp

+ 2
- 0
output_dacs.cpp Ver fichero

// 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;
} }
} }



Cargando…
Cancelar
Guardar