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
raceback (most recent call last):
File "/home/whitequark/Projects/urh/src/urh/controller/dialogs/ModulatorDialog.py", line 491, in on_modulation_type_changed
self.set_default_modulation_parameters()
File "/home/whitequark/Projects/urh/src/urh/controller/dialogs/ModulatorDialog.py", line 351, in set_default_modulation_parameters
self.current_modulator.parameters = self.current_modulator.get_default_parameters()
File "/home/whitequark/Projects/urh/src/urh/signalprocessing/Modulator.py", line 244, in get_default_parameters
for i in range(self.modulation_order):
TypeError: 'float' object cannot be interpreted as an integer
Expected Behavior
Crash when selecting FSK in modulator in certain conditions.
Actual Behavior
No crash.
Steps To Reproduce
Platform Specifications
Workaround
With the following patch, modulator seems to work OK and produce signals that are demodulated by my nRF24L01+:
But from looking at the code this doesn't seem like the right fix to me.
The text was updated successfully, but these errors were encountered: