Skip to content

Commit

Permalink
Disallow negative throtcur
Browse files Browse the repository at this point in the history
  • Loading branch information
jsphuebner committed Sep 8, 2020
1 parent e3dc81e commit 53c5ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/param_prj.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#define VER 4.89.R
#define VER 4.90.R

/* Entries must be ordered as follows:
1. Saveable parameters (id != 0)
Expand Down Expand Up @@ -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 ) \
Expand Down

0 comments on commit 53c5ba9

Please sign in to comment.