summaryrefslogtreecommitdiff
path: root/src/hooks.cpp
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-07-13 19:57:37 +0200
committeraura <nw@moneybot.cc>2026-07-13 19:57:37 +0200
commit971fcd352a872109a72c545cc9517c8980918b17 (patch)
tree64cec6db8c4f30a4df7afc9e702c58d536cec4d7 /src/hooks.cpp
parent6fd8a952a00d3c9980311ef366fd2304b7be9f67 (diff)
add scaling rpm down when redline is hit below set point
Diffstat (limited to 'src/hooks.cpp')
-rw-r--r--src/hooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks.cpp b/src/hooks.cpp
index 25883b3..1b1c3cf 100644
--- a/src/hooks.cpp
+++ b/src/hooks.cpp
@@ -198,7 +198,7 @@ VKAPI_ATTR VkResult VKAPI_CALL hook_queue_present(
udp_parse( &d->udp, &od->telem );
if( ++od->frame % 60 == 0 ) {
if( config_poll( &od->cfg ) )
- od->valid_redline = 0.86;
+ od->valid_redline = od->target_redline = 0.86;
}
F64 now = t_nows();