Skip to content

Commit

Permalink
Changing max encoders numbers to get interrupt to read enc 3.
Browse files Browse the repository at this point in the history
This is a ridiculous hack. Should NUM_ENC just always be 4?
  • Loading branch information
apullin committed Nov 7, 2015
1 parent b012786 commit 13fdc79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ams-enc.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@


#define MAX_HALL 0x4000 // maximum Hall sensor value
#define NUM_ENC 2
#define NUM_ENC 3

//Leg position struct
typedef struct {
Expand Down

0 comments on commit 13fdc79

Please sign in to comment.