diff options
author | Christian Cunningham <cc@localhost> | 2022-03-22 23:50:57 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-22 23:50:57 -0700 |
commit | f6ff28ad8eb5e88a1985706bfc94657704e9c3f4 (patch) | |
tree | e5b586401106b0230176ec02e70e18637d77547e /src | |
parent | e2794c37e90f963773ae2f4c0f782db922488b4f (diff) |
Make arbitrary amounts of priorities
Without affecting maximum static thread count
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/irq.c | 2 |
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; } } |