File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1001,10 +1001,10 @@ def _mcu_identify(self):
10011001 pin_resolver .reserve_pin (pin , cname [13 :])
10021002 if MAX_NOMINAL_DURATION * self ._mcu_freq > MAX_SCHEDULE_TICKS :
10031003 max_possible = MAX_SCHEDULE_TICKS * 1 / self ._mcu_freq
1004- raise error ("Too high clock speed for MCU '%s' " % ( self . _name ,) +
1005- "to be able to resolve a maximum nominal duration " +
1006- "of %ds. " % ( MAX_NOMINAL_DURATION ) +
1007- "Max possible duration: %ds" % ( max_possible ))
1004+ raise error ("Too high clock speed for MCU '%s'"
1005+ " to be able to resolve a maximum nominal duration"
1006+ " of %ds. Max possible duration: %ds"
1007+ % ( self . _name , MAX_NOMINAL_DURATION , max_possible ))
10081008 # Config creation helpers
10091009 def setup_pin (self , pin_type , pin_params ):
10101010 pcs = {'endstop' : MCU_endstop ,
You can’t perform that action at this time.
0 commit comments