Change the pmt::to_float() to pmt::to_double() for compatibility
This commit is contained in:
parent
5e1667ff9a
commit
76c28b0b21
|
@ -139,7 +139,7 @@ namespace gr
|
||||||
cw_to_symbol_impl::set_act_threshold_msg_handler (pmt::pmt_t msg)
|
cw_to_symbol_impl::set_act_threshold_msg_handler (pmt::pmt_t msg)
|
||||||
{
|
{
|
||||||
if(pmt::is_pair(msg)){
|
if(pmt::is_pair(msg)){
|
||||||
set_act_threshold(pmt::to_float(pmt::cdr(msg)));
|
set_act_threshold(pmt::to_double(pmt::cdr(msg)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue