|
|
@ -19,15 +19,17 @@ void translate_handler(uhd::msg::type_t type, const std::string & msg)
|
|
|
|
handler(msg.c_str());
|
|
|
|
handler(msg.c_str());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
void rf_uhd_register_msg_handler_c(void (*new_handler)(const char*))
|
|
|
|
void rf_uhd_register_msg_handler_c(void (*new_handler)(const char*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
/*
|
|
|
|
#if UHD_VERSION < 31100
|
|
|
|
#if UHD_VERSION < 31100
|
|
|
|
handler = new_handler;
|
|
|
|
handler = new_handler;
|
|
|
|
uhd::msg::register_handler(translate_handler);
|
|
|
|
uhd::msg::register_handler(translate_handler);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void uhd_tx_metadata_set_time_spec(uhd_tx_metadata_handle *md, time_t secs, double frac_secs)
|
|
|
|
void uhd_tx_metadata_set_time_spec(uhd_tx_metadata_handle *md, time_t secs, double frac_secs)
|
|
|
|
{
|
|
|
|
{
|
|
|
|