g0orx / pihpsdr

Raspberry Pi standalone code for HPSDR (Protocol 1 and Protocol 2)
GNU General Public License v2.0
110 stars 73 forks source link

Avoid segfaults when reading props file, and corrected the "floating" slider. #128

Closed dl1ycf closed 3 years ago

dl1ycf commented 3 years ago

band.c: when reading the props file, put nothing in the data structures beyond compile-time boundaries (this happens if the number of bands has been reduced since the last compile, e.g. by de-activating SOAPY).

sliders.c/zoompan.c: the gtk_dialog_run() do not return as long as the "floating slider" is on the screen. So do everything that has to be done, has to be done before.

"floating slider": this is the slider that pops up for two seconds if a slider value changes (through MIDI, GPIO, CAT) but the sliders are not shown.