g0orx / pihpsdr

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

MacOS additions, and a general solution to the "step size list" problem. #159

Closed dl1ycf closed 2 years ago

dl1ycf commented 2 years ago

MacOS: here we have two new files and some support in the Makefile. This is mainly for "app" bundle creation so it finds its "current working directory". The old-style "wrapper script" solution no longer works because of some security features of MacOS (microphone access, etc.), therefore the old "MacOS/pihpsdr.sh" is removed. "make app" then created an app bundle. Note: no longer needed to explicitly disable GPIO on MacOS, things go automatic now.

MIDI menu: clean "configure" flag when leaving menu

Step size list: added functions to vfo.c that do the job and the range checking, and use these from everywhere else.

RigCtl: beside the "step size list" change, make "send_resp" terminate when client unexpectly closes the communication.