mirror of
https://github.com/htrefil/rkvm.git
synced 2024-11-16 07:47:24 +01:00
Fix operator precedence
This commit is contained in:
parent
5a3685f535
commit
adc2e2eb10
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ impl Interceptor {
|
|||
let min = abs_info.minimum;
|
||||
let max = abs_info.maximum;
|
||||
|
||||
if min != 0 || max != 0 && max < min {
|
||||
if (min != 0 || max != 0) && max < min {
|
||||
log::warn!(
|
||||
"Detected nonsense min ({}) and max ({}) values for absolute axis {}, disabling it",
|
||||
min,
|
||||
|
|
Loading…
Reference in a new issue