aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorklaar36 <klas.arvidsson@liu.se>2016-05-03 21:41:32 +0200
committerklaar36 <klas.arvidsson@liu.se>2016-05-04 03:28:16 +0200
commit1413ca739e80172a3f11b0888f2f27f47b2ed056 (patch)
treea1091a9bdc539b0e2380d7a53502dc31063d206f /src
parent6d80739be4f882005c98a4b8000c1c5cde8d0a4e (diff)
downloadpintos-rs-1413ca739e80172a3f11b0888f2f27f47b2ed056.tar.gz
increased interrupt freq
Diffstat (limited to 'src')
-rw-r--r--src/devices/timer.h2
-rw-r--r--src/lib/debug.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/timer.h b/src/devices/timer.h
index 45a3f72..38f08df 100644
--- a/src/devices/timer.h
+++ b/src/devices/timer.h
@@ -5,7 +5,7 @@
#include <stdint.h>
/* Number of timer interrupts per second. */
-#define TIMER_FREQ 100
+#define TIMER_FREQ 1000
void timer_init (void);
void timer_calibrate (void);
diff --git a/src/lib/debug.h b/src/lib/debug.h
index 989dbd5..29390b6 100644
--- a/src/lib/debug.h
+++ b/src/lib/debug.h
@@ -23,7 +23,7 @@ void debug_panic (const char *file, int line, const char *function,
void debug_backtrace (void);
/* klaar@ida Parts from 100 to 210 exists (only in reference solution) */
-#define PART 210
+#define PART 190
#endif