fix macos ci + fix hydrasdr vid/pid

This commit is contained in:
AlexandreRouma
2025-10-05 16:51:42 -04:00
parent e82202ea74
commit 2a3fb12f61
4 changed files with 9 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ namespace backend {
extern const std::vector<DevVIDPID> AIRSPY_VIDPIDS;
extern const std::vector<DevVIDPID> AIRSPYHF_VIDPIDS;
extern const std::vector<DevVIDPID> HACKRF_VIDPIDS;
extern const std::vector<DevVIDPID> HYDRASDR_VIDPIDS;
extern const std::vector<DevVIDPID> RTL_SDR_VIDPIDS;
int getDeviceFD(int& vid, int& pid, const std::vector<DevVIDPID>& allowedVidPids);

View File

@@ -408,6 +408,11 @@ namespace backend {
{ 0x1d50, 0xcc15 }
};
const std::vector<DevVIDPID> HYDRASDR_VIDPIDS = {
{ 0x1d50, 0x60a1 },
{ 0x38af, 0x0001 }
};
const std::vector<DevVIDPID> RTL_SDR_VIDPIDS = {
{ 0x0bda, 0x2832 },
{ 0x0bda, 0x2838 },