File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Arduino_Pedelec_Controller Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ const char msg_tempomat_reset[] PROGMEM = "Tempomat reset";
263
263
const char msg_unknown_action [] PROGMEM = "Unknown action!" ;
264
264
const char msg_activated [] PROGMEM = "Activated" ;
265
265
const char msg_deactivated [] PROGMEM = "Deactivated" ;
266
- #ifdef SUPPORT_XCELL_RT
266
+ #if defined( SUPPORT_XCELL_RT ) || defined( SUPPORT_SEMPU )
267
267
const char msg_torquezero [] PROGMEM = "Re-zero torque sensor" ;
268
268
#endif
269
269
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ static void execute_action(const sw_action action)
337
337
action_toggle_gear (true );
338
338
break ;
339
339
#endif
340
- #ifdef SUPPORT_XCELL_RT
340
+ #if defined( SUPPORT_XCELL_RT) || defined(SUPPORT_SEMPU)
341
341
case ACTION_TORQUE_ZERO:
342
342
torque_rezero ();
343
343
display_show_important_info (FROM_FLASH (msg_torquezero), 2 );
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ def write_config_h(filename=CONFIG_H,
289
289
f .write ('const char msg_unknown_action[] PROGMEM = "Unknown action!";\n ' )
290
290
f .write ('const char msg_activated[] PROGMEM = "Activated";\n ' )
291
291
f .write ('const char msg_deactivated[] PROGMEM = "Deactivated";\n ' )
292
- f .write ('#ifdef SUPPORT_XCELL_RT\n ' )
292
+ f .write ('#if defined( SUPPORT_XCELL_RT) || defined(SUPPORT_SEMPU) \n ' )
293
293
f .write ('const char msg_torquezero[] PROGMEM = "Re-zero torque sensor";\n ' )
294
294
f .write ('#endif\n ' )
295
295
f .write ('\n ' )
You can’t perform that action at this time.
0 commit comments