aboutsummaryrefslogtreecommitdiffstats
path: root/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui.c')
-rw-r--r--gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.c b/gui.c
index 9f20c4d5..bd00d776 100644
--- a/gui.c
+++ b/gui.c
@@ -102,10 +102,10 @@ static void guiThread(const uint16_t interval) {
}
}
-Thread *guiInit(uint16_t interval) {
+Thread *guiInit(uint16_t interval, tprio_t priority) {
Thread *tp = NULL;
- tp = chThdCreateFromHeap(NULL, THD_WA_SIZE(10240), HIGHPRIO-1, guiThread, interval);
+ tp = chThdCreateFromHeap(NULL, THD_WA_SIZE(10240), priority, guiThread, interval);
return tp;
}