Update HackRf.h

fixing data types that didn't work
and fixing items that needed to be private/public
This commit is contained in:
sdn-ninja 2024-05-08 21:42:27 +01:00 committed by GitHub
parent f5e950b649
commit ea3011afd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,14 +33,15 @@ private:
/// @brief Enable extra amplifier U13 on receive.
std::vector<bool> ampEnable;
/// @brief Vector of pointers to HackRF devices.
std::vector<hackrf_device*> dev;
/// @brief Check status of HackRF API returns.
/// @param status Return code of API call.
/// @param message Message if API call error.
void check_status(uint8_t status, std::string message);
protected:
/// @brief Array of pointers to HackRF devices.
hackrf_device* dev[2];
/// @brief Callback function for HackRF samples.
/// @param transfer HackRF transfer object.
/// @return Void.
@ -81,4 +82,4 @@ public:
};
#endif
#endif