aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/irq.c')
-rw-r--r--src/cpu/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c
index 3bd28e6..dcca9e8 100644
--- a/src/cpu/irq.c
+++ b/src/cpu/irq.c
@@ -49,7 +49,7 @@ unsigned long c_irq_handler(void)
//}
// Add task to handle the data
else {
- add_thread(handle_data, (void*)data, 7);
+ add_thread(handle_data, (void*)data, PRIORITIES-1);
return 1;
}
}