Fix operator precedence

This commit is contained in:
Jan Trefil 2023-08-28 22:41:31 +02:00
parent 5a3685f535
commit adc2e2eb10

View file

@ -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,