Replaced USRP2 peek() with peek32(), handles endian-swapping if needed
[debian/gnuradio] / gr-usrp2 / src / usrp2.i
index a484397f8ea2da7c9881ddcad6abddd88580d644..8d3e732ec4923c1c2ef6cc991f9f3d3b88ff7dac 100644 (file)
@@ -36,7 +36,7 @@
 
 %include <usrp2/tune_result.h>
 
-%template(uint8_t_vector) std::vector<uint8_t>;
+%template(uint32_t_vector) std::vector<uint32_t>;
 
 // ----------------------------------------------------------------
 
@@ -52,7 +52,7 @@ public:
   %rename(_real_fpga_master_clock_freq) fpga_master_clock_freq;
   bool fpga_master_clock_freq(long *freq);
   bool sync_to_pps();
-  std::vector<uint8_t> peek(uint32_t addr, uint32_t len);
+  std::vector<uint32_t> peek32(uint32_t addr, uint32_t words);
 };
 
 // ----------------------------------------------------------------