Skip to content

Commit

Permalink
Repair SUPPORT_XCELL_RT support for hardware >= 2.x
Browse files Browse the repository at this point in the history
The automatic compile test failed.
This puts back the logic that got changed in this commit:

commit faa630d

    Add support for new SEMPU bottom bracket

    with two pas wires (as Thun X-Cell RT)
  • Loading branch information
thomasjfox committed Dec 26, 2017
1 parent 4f6793e commit e9ecf65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Arduino_Pedelec_Controller/Arduino_Pedelec_Controller.ino
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ static volatile boolean torque_want_calculation = false; //read torque values in
#if HARDWARE_REV<20 && defined(SUPPORT_XCELL_RT)
const int torquevalues_count=8;
volatile int torquevalues[torquevalues_count]= {0,0,0,0,0,0,0,0}; //stores the 8 torque values per pedal roundtrip
#elif defined(SUPPORT_SEMPU_V1)
#elif defined(SUPPORT_SEMPU_V1) || defined(SUPPORT_XCELL_RT)
const int torquevalues_count=16;
volatile int torquevalues[torquevalues_count]= {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; //stores the 16 torque values per pedal roundtrip (Thun) or half roundtrip (Sempu)
#elif defined(SUPPORT_SEMPU)
Expand Down

0 comments on commit e9ecf65

Please sign in to comment.