Skip to content

Commit e9ecf65

Browse files
committed
Repair SUPPORT_XCELL_RT support for hardware >= 2.x
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)
1 parent 4f6793e commit e9ecf65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Arduino_Pedelec_Controller/Arduino_Pedelec_Controller.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ static volatile boolean torque_want_calculation = false; //read torque values in
278278
#if HARDWARE_REV<20 && defined(SUPPORT_XCELL_RT)
279279
const int torquevalues_count=8;
280280
volatile int torquevalues[torquevalues_count]= {0,0,0,0,0,0,0,0}; //stores the 8 torque values per pedal roundtrip
281-
#elif defined(SUPPORT_SEMPU_V1)
281+
#elif defined(SUPPORT_SEMPU_V1) || defined(SUPPORT_XCELL_RT)
282282
const int torquevalues_count=16;
283283
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)
284284
#elif defined(SUPPORT_SEMPU)

0 commit comments

Comments
 (0)