mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
Update HackRf.h
fixing data types that didn't work and fixing items that needed to be private/public
This commit is contained in:
parent
f5e950b649
commit
ea3011afd1
1 changed files with 5 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue