Skip to content

Commit

Permalink
disable reverse command for 5s protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
stancecoke committed Jan 7, 2025
1 parent bd8d2c1 commit 6661e4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Inc/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6661e4c

Please sign in to comment.