mirror of
https://github.com/fairwaves/UHD-Fairwaves.git
synced 2025-10-22 23:31:59 +00:00
host: remove unused variables and functions
This commit is contained in:
committed by
Alexander Chemeris
parent
1be7c63ac2
commit
bac43dcb6c
@@ -60,7 +60,6 @@ static const boost::uint32_t MIN_PROTO_COMPAT_I2C = 7;
|
||||
// The register compat number must reflect the protocol compatibility
|
||||
// and the compatibility of the register mapping (more likely to change).
|
||||
static const boost::uint32_t MIN_PROTO_COMPAT_REG = 10;
|
||||
static const boost::uint32_t MIN_PROTO_COMPAT_UART = 7;
|
||||
|
||||
class umtrx_iface_impl : public umtrx_iface{
|
||||
public:
|
||||
|
@@ -48,10 +48,6 @@ static UHD_INLINE pt::time_duration to_time_dur(double timeout){
|
||||
return pt::microseconds(long(timeout*1e6));
|
||||
}
|
||||
|
||||
static UHD_INLINE double from_time_dur(const pt::time_duration &time_dur){
|
||||
return 1e-6*time_dur.total_microseconds();
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* constants
|
||||
**********************************************************************/
|
||||
|
Reference in New Issue
Block a user