From f3ad093eb7a84bb74dfa29fee1c4831d2bc035f6 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Mon, 17 Jan 2022 11:01:08 +0100 Subject: [PATCH] Renamed dexed.mh to README. Fix from upstream for setting controllers. --- src/{dexed.mh => README} | 0 src/msfa/controllers.h | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{dexed.mh => README} (100%) diff --git a/src/dexed.mh b/src/README similarity index 100% rename from src/dexed.mh rename to src/README diff --git a/src/msfa/controllers.h b/src/msfa/controllers.h index b8179e2..95b9828 100644 --- a/src/msfa/controllers.h +++ b/src/msfa/controllers.h @@ -47,7 +47,7 @@ struct FmMod { } void setRange(uint8_t r) { - range = r < 0 && r > 127 ? 0 : r; + range = r < 0 || r > 127 ? 0 : r; TRACE("range=%d",range); }