Silence BORE config prompt and default to 500Hz tickrate when using it

This commit is contained in:
Tk-Glitch
2022-09-05 19:19:48 +02:00
parent cb5a66a1e5
commit 02632e1c63

View File

@@ -883,6 +883,8 @@ _tkg_srcprep() {
# BMQ default config # BMQ default config
_enable "SCHED_ALT" "SCHED_BMQ" _enable "SCHED_ALT" "SCHED_BMQ"
_disable "SCHED_PDS" _disable "SCHED_PDS"
elif [ "${_cpusched}" = "bore" ]; then
_enable "SCHED_BORE"
fi fi
if [[ "${_cpusched}" =~ ^(muqss|pds|bmq|upds)$ ]]; then if [[ "${_cpusched}" =~ ^(muqss|pds|bmq|upds)$ ]]; then
@@ -1093,6 +1095,7 @@ _tkg_srcprep() {
["upds"]="3" ["upds"]="3"
["cfs"]="3" ["cfs"]="3"
["bmq"]="3" ["bmq"]="3"
["bore"]="3"
) )
if [[ -n "$_timer_freq" && ! "${_avail_timer_frequencies[*]}" =~ "$_timer_freq" ]]; then if [[ -n "$_timer_freq" && ! "${_avail_timer_frequencies[*]}" =~ "$_timer_freq" ]]; then