You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Arduino_Pedelec_Controller/Arduino_Pedelec_Controller.ino
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -283,7 +283,7 @@ const int torquevalues_count=16;
283
283
volatileint 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)
284
284
#elif defined(SUPPORT_SEMPU)
285
285
constint torquevalues_count=24;
286
-
volatileint torquevalues[torquevalues_count]= {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; //stores the 24 torque values per pedal half roundtrip (Sempu new version)
286
+
volatileint torquevalues[torquevalues_count]= {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; //stores the 24 torque values per pedal roundtrip (Sempu new version)
287
287
#endif
288
288
volatile byte torqueindex=0; //index to write next torque value
289
289
volatile boolean readtorque=false; //true if torque array has been updated -> recalculate in main loop
0 commit comments