[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r4923 - gnuradio/branches/developers/gnychis/inband/us
From: |
gnychis |
Subject: |
[Commit-gnuradio] r4923 - gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband |
Date: |
Sat, 7 Apr 2007 18:23:57 -0600 (MDT) |
Author: gnychis
Date: 2007-04-07 18:23:57 -0600 (Sat, 07 Apr 2007)
New Revision: 4923
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_inband_usb_packet.cc
Log:
no need for a set payload function when the payload() method can be used to get
a pointer for use with memcpy
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_inband_usb_packet.cc
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_inband_usb_packet.cc
2007-04-07 23:37:57 UTC (rev 4922)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_inband_usb_packet.cc
2007-04-08 00:23:57 UTC (rev 4923)
@@ -129,8 +129,4 @@
return d_payload;
}
- void set_payload(unsigned char *payload, int payload_len) {
- memcpy(d_payload, payload, payload_len);
- }
-
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r4923 - gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband,
gnychis <=