Explorar el Código

Corrected conversion from words to bytes in transferCount().

main
kbob hace 9 años
padre
commit
3676d1621f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      teensy3/DMAChannel.h

+ 1
- 1
teensy3/DMAChannel.h Ver fichero

@@ -791,7 +791,7 @@ public:
d = (dcr >> 17) & 3;
if (s == 0 || d == 0) n = 2;
else if (s == 2 || d == 2) n = 1;
CFG->DSR_BCR = len >> n;
CFG->DSR_BCR = len << n;
}

/*************************************************/

Cargando…
Cancelar
Guardar