summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dad0135)
For consistency always assign a float value to inter_symbol_distance, as
it is going to be used in calculations with other float values.
This also fixes an pylint message:
R:101,12: Redefinition of inter_symbol_distance type from float to int
(redefined-variable-type)
# ring time makes them happy.
inter_symbol_distance = ring_time_max
else:
# ring time makes them happy.
inter_symbol_distance = ring_time_max
else:
- inter_symbol_distance = 0
+ inter_symbol_distance = 0.0
self.modulator = MorseDistanceModulator(call_setup_time_min,
call_setup_time_max,
self.modulator = MorseDistanceModulator(call_setup_time_min,
call_setup_time_max,