Move radio's detection into radio-detect.sh, for HamPackServer to share
Finding the radios, their ports, sound cards and CM108 pins, probing them and looking them up in radios.conf move, unchanged, from radio into radio-detect.sh, which radio sources. It needs nothing else of HamPack (it has parse_conf itself where lib.sh isn't loaded), so HamPackServer's configure can keep a copy. The messages that named radio's commands take them from RADIO_PROGRAM, RADIO_CONFIGURE and RADIO_CM108_ACCESS, whose defaults say what they said before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
7697a785d3
commit
a88f09a1cd
@@ -6,7 +6,7 @@
|
||||
# make hooks - run `make lint test` before each commit
|
||||
|
||||
SCRIPTS := install.sh update.sh lib.sh install-binaries.sh install-compiled.sh \
|
||||
install-flatpaks.sh install-windows-apps.sh patch-potacat.sh hampackcheck hampackremove radio \
|
||||
install-flatpaks.sh install-windows-apps.sh patch-potacat.sh hampackcheck hampackremove radio radio-detect.sh \
|
||||
smoketest/setup smoketest/health smoketest/lib.sh $(wildcard smoketest/scenarios/*.sh)
|
||||
|
||||
.PHONY: check lint test check-packages hooks
|
||||
|
||||
Reference in New Issue
Block a user