Explorar el Código

Corrected an copy paste error

teensy4-core
Mike S hace 6 años
padre
commit
cd07025412
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      teensy4/analog.c

+ 2
- 0
teensy4/analog.c Ver fichero

@@ -89,6 +89,8 @@ void analogReadRes(unsigned int bits)

void analogReadAveraging(unsigned int num)
{
uint32_t tmp32, mode, avg=0;
//disable averaging
tmp32 = ADC1_GC;
ADC1_GC &= ~0x20;

Cargando…
Cancelar
Guardar