myriadrf / gr-limesdr

gr-limesdr Plugin for GNURadio
Other
143 stars 77 forks source link

Channel B flow graphs do not use correct callback channel parameter #23

Closed heliochronix closed 5 years ago

heliochronix commented 5 years ago

When generating a flow graph within GRC, if CH0 is set to "B" in SISO mode, the generated code has "0" (Channel 0, or A) hard coded into all callback functions. This prevents any GRC generated code from modifying Channel B parameters while the flow graph is running. Manual editing of the code is required

Example to reproduce: Using the signal_generator.grc example flow graph from gr-limesdr, change CH0 to "B" and attempt to run and adjust any channel specific parameters while running (TX Gain for example).

gracid commented 5 years ago

Both channels use correct callback parameters since 17e7996 commit.