From 53c5ba9071af3ddadcf9f55f940233ef6247031d Mon Sep 17 00:00:00 2001 From: jsphuebner Date: Tue, 8 Sep 2020 13:08:50 +0200 Subject: [PATCH] Disallow negative throtcur --- include/param_prj.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/param_prj.h b/include/param_prj.h index 2d85779..0c487df 100644 --- a/include/param_prj.h +++ b/include/param_prj.h @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -#define VER 4.89.R +#define VER 4.90.R /* Entries must be ordered as follows: 1. Saveable parameters (id != 0) @@ -109,7 +109,7 @@ PARAM_ENTRY(CAT_THROTTLE,slipstart, "%", 10, 100, 50, 90 ) \ #define THROTTLE_PARAMETERS_FOC \ - PARAM_ENTRY(CAT_THROTTLE,throtcur, "A/%", -10, 10, 1, 105 ) + PARAM_ENTRY(CAT_THROTTLE,throtcur, "A/%", 0, 10, 1, 105 ) #define REGEN_PARAMETERS \ PARAM_ENTRY(CAT_REGEN, brknompedal, "%", -100, 0, -50, 38 ) \