aboutsummaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/schedule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sys/schedule.c b/src/sys/schedule.c
index ad7feec..0e9df78 100644
--- a/src/sys/schedule.c
+++ b/src/sys/schedule.c
@@ -52,9 +52,7 @@ struct RStack get_stack(void)
void draw_stacks(void)
{
unsigned long ioff = 0;
- unsigned long yoff = 320;
-#define STACK_DRAW_WIDTH 32
-#define STACK_DRAW_SIZE 3
+ unsigned long yoff = STACK_DRAW_YOFF;
for(int i = 0; i < MAX_THREADS; i++) {
if(stacks_table[i])
draw_cbox(ioff, yoff, STACK_DRAW_SIZE, STACK_DRAW_SIZE, 0xFFFFFF);