Fixed API change with newer libhydrasdr

This commit is contained in:
AlexandreRouma
2026-03-21 23:13:51 -04:00
parent 2bf3faebae
commit 621c031364

View File

@@ -32,9 +32,9 @@ public:
this->name = name;
// Define the ports
ports.define("rx0", "RX0", RF_PORT_RX0);
ports.define("rx1", "RX1", RF_PORT_RX1);
ports.define("rx2", "RX2", RF_PORT_RX2);
ports.define("rx0", "RX0", HYDRASDR_RF_PORT_RX0);
ports.define("rx1", "RX1", HYDRASDR_RF_PORT_RX1);
ports.define("rx2", "RX2", HYDRASDR_RF_PORT_RX2);
regStr[0] = 0;
valStr[0] = 0;