[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r5082 - gnuradio/branches/developers/gnychis/inband/us
From: |
gnychis |
Subject: |
[Commit-gnuradio] r5082 - gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband |
Date: |
Mon, 23 Apr 2007 10:40:00 -0600 (MDT) |
Author: gnychis
Date: 2007-04-23 10:39:59 -0600 (Mon, 23 Apr 2007)
New Revision: 5082
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_server.cc
Log:
trying to fix no such class
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
2007-04-23 10:45:42 UTC (rev 5081)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/qa_inband_usrp_server.cc
2007-04-23 16:39:59 UTC (rev 5082)
@@ -36,12 +36,10 @@
void
qa_inband_usrp_server::test_chan_allocation()
{
+ mb_runtime_sptr rt = mb_make_runtime();
+ pmt_t result = PMT_T;
- mb_runtime_sptr rts = mb_make_runtime();
- mb_runtime *rt = rts.get();
-
- mb_mblock_sptr server = mb_mblock_sptr(new usrp_server(rt, "usrp-server",
PMT_F));
-
+ rt->run("top", "usrp_server", PMT_F, &result);
}
void
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_server.cc
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_server.cc
2007-04-23 10:45:42 UTC (rev 5081)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_server.cc
2007-04-23 16:39:59 UTC (rev 5082)
@@ -25,6 +25,7 @@
#include <usrp_server.h>
#include <iostream>
#include <usrp_inband_usb_packet.h>
+#include <mb_class_registry.h>
#include <vector>
typedef usrp_inband_usb_packet transport_pkt; // makes conversion to gigabit
easy
@@ -353,3 +354,4 @@
// USB_PKT_SIZE * MAX_PACKET_BURST bytes worth of data (given a full burst)
}
+REGISTER_MBLOCK_CLASS(usrp_server);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r5082 - gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband,
gnychis <=