diff --git a/Inc/config.h b/Inc/config.h index 6b9341ce..7eab2613 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -75,10 +75,10 @@ //-------------------------------------------------------------------- //Speed settings #define WHEEL_CIRCUMFERENCE 2200 -#define GEAR_RATIO 98 //11 for BionX IGH3 +#define GEAR_RATIO 11 //11 for BionX IGH3 #define SPEEDLIMIT 25 #define PULSES_PER_REVOLUTION 1 -#define SPEEDSOURCE EXTERNAL +#define SPEEDSOURCE INTERNAL #define SPEEDFILTER 1 #define SPDSHFT 0 diff --git a/Src/main.c b/Src/main.c index eabb2ca1..889f3942 100644 --- a/Src/main.c +++ b/Src/main.c @@ -2160,8 +2160,8 @@ int main(void) { ui8_Push_Assist_flag=0; } - if( KM.Settings.Reverse)i8_direction = -1; - else i8_direction = 1; +// if( KM.Settings.Reverse)i8_direction = -1; +// else i8_direction = 1; // MP.speedLimit=KM.Rx.SPEEDMAX_Limit; // MP.battery_current_max = KM.Rx.CUR_Limit_mA;