Explorar el Código

Fix timer running far too slow

Thomas Buck hace 8 años
padre
commit
66360de8b1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/arm/timer.cpp

+ 1
- 1
src/arm/timer.cpp Ver fichero

@@ -12,7 +12,7 @@ static Ticker t;
12 12
 static time_t systemTime = 0;
13 13
 
14 14
 static void timerISR(void) {
15
-    systemTime++;
15
+    systemTime += 100;
16 16
 }
17 17
 
18 18
 extern "C" {

Loading…
Cancelar
Guardar