Skip to content

Commit

Permalink
Changed limits of the full throttle (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanjoshi23 authored Jul 18, 2024
1 parent 78c340a commit fb6b699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/mcb/Core/Inc/mcb.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
*/
#define ADC_LOWER_DEADZONE 900
#define ADC_FOR_NO_SPIN 1300
#define ADC_MIN_FOR_FULL_THROTTLE 2000
#define ADC_MAX_FOR_FULL_THROTTLE 2600
#define ADC_MIN_FOR_FULL_THROTTLE 1850
#define ADC_MAX_FOR_FULL_THROTTLE 4000

#define SETBIT(x, bitpos) (x |= (1 << bitpos))
#define GETBIT(x, bitpos) ((x >> bitpos) & 1)
Expand Down

0 comments on commit fb6b699

Please sign in to comment.