From d32db7df769179a743d9e312aa44d4edbb8cf8c2 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Thu, 21 Apr 2016 09:34:45 +0200 Subject: [PATCH] message source: adapt to new api --- lib/periodic_msg_source_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/periodic_msg_source_impl.cc b/lib/periodic_msg_source_impl.cc index e27fb5d..5ff8381 100644 --- a/lib/periodic_msg_source_impl.cc +++ b/lib/periodic_msg_source_impl.cc @@ -68,7 +68,7 @@ periodic_msg_source_impl::run(periodic_msg_source_impl *instance) { if(d_quit) { boost::this_thread::sleep(boost::posix_time::milliseconds(500)); message_port_pub( pmt::mp("out"), pmt::PMT_EOF); - post(pmt::mp("system"), pmt::cons(pmt::mp("done"), pmt::from_long(1))); + post(pmt::mp("system"), pmt::cons(pmt::mp("done"), pmt::PMT_T)); } break; }