diff options
author | eb | 2008-06-26 18:17:15 +0000 |
---|---|---|
committer | eb | 2008-06-26 18:17:15 +0000 |
commit | 20615905cd0bf22772740d132be439bcf7ec4d8d (patch) | |
tree | 4e8a66876f77e15318cf5225456b42df05d75b2e /usrp/host/lib/inband/usrp_inband_usb_packet.cc | |
parent | a43f1cfbf40e234ed30659db3943eb9e0c1a7e94 (diff) | |
download | gnuradio-20615905cd0bf22772740d132be439bcf7ec4d8d.tar.gz gnuradio-20615905cd0bf22772740d132be439bcf7ec4d8d.tar.bz2 gnuradio-20615905cd0bf22772740d132be439bcf7ec4d8d.zip |
Fixed spelling error: s/writeable/writable/g
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8727 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp/host/lib/inband/usrp_inband_usb_packet.cc')
-rw-r--r-- | usrp/host/lib/inband/usrp_inband_usb_packet.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usrp/host/lib/inband/usrp_inband_usb_packet.cc b/usrp/host/lib/inband/usrp_inband_usb_packet.cc index 2f02ecc3f..72bc45ccb 100644 --- a/usrp/host/lib/inband/usrp_inband_usb_packet.cc +++ b/usrp/host/lib/inband/usrp_inband_usb_packet.cc @@ -649,7 +649,7 @@ pmt_t usrp_inband_usb_packet::read_subpacket(int payload_offset) { size_t i2c_data_len; pmt_t i2c_data = pmt_make_u8vector(len - 2, 0); // skip rid+mbz+addr = 2 bytes uint8_t *w_data = - (uint8_t *) pmt_u8vector_writeable_elements(i2c_data, i2c_data_len); + (uint8_t *) pmt_u8vector_writable_elements(i2c_data, i2c_data_len); memcpy(w_data, d_payload + payload_offset + 4, i2c_data_len); // skip first word @@ -664,7 +664,7 @@ pmt_t usrp_inband_usb_packet::read_subpacket(int payload_offset) { size_t spi_data_len; pmt_t spi_data = pmt_make_u8vector(len - 2, 0); // skip rid+mbz+addr = 2 bytes uint8_t *w_data = - (uint8_t *) pmt_u8vector_writeable_elements(spi_data, spi_data_len); + (uint8_t *) pmt_u8vector_writable_elements(spi_data, spi_data_len); memcpy(w_data, d_payload + payload_offset + 4, spi_data_len); // skip first word @@ -719,9 +719,9 @@ pmt_t usrp_inband_usb_packet::read_subpacket(int payload_offset) { // The length includes an extra 2 bytes for storing the mbz and addr pmt_t i2c_data = pmt_make_u8vector(len-2, 0); - // Get a writeable address to copy the data from the packet + // Get a writable address to copy the data from the packet size_t ignore; - uint8_t *w_data = (uint8_t *) pmt_u8vector_writeable_elements(i2c_data, ignore); + uint8_t *w_data = (uint8_t *) pmt_u8vector_writable_elements(i2c_data, ignore); memcpy(w_data, d_payload + payload_offset + 4, len-2); @@ -753,7 +753,7 @@ pmt_t usrp_inband_usb_packet::read_subpacket(int payload_offset) { size_t spi_data_len; pmt_t spi_data = pmt_make_u8vector(len - 6, 0); // skip rid+mbz+addr = 2 bytes uint8_t *w_data = - (uint8_t *) pmt_u8vector_writeable_elements(spi_data, spi_data_len); + (uint8_t *) pmt_u8vector_writable_elements(spi_data, spi_data_len); memcpy(w_data, d_payload + payload_offset + 8, spi_data_len); // skip first 2 words |