Replaced USRP2 peek() with peek32(), handles endian-swapping if needed
[debian/gnuradio] / gr-usrp2 / src / usrp2_base.h
index 877437009fb94bf7b31766eb7437cb1fa503db2d..ed2a28fe147653d7b7c5066e866365cb4c74a6d7 100644 (file)
@@ -63,11 +63,10 @@ public:
    */
   bool sync_to_pps();
 
-
   /*!
-   * \brief Read memory from Wishbone bus
+   * \brief Read memory from Wishbone bus as words
    */
-  std::vector<uint8_t> peek(uint32_t addr, uint32_t len);
+  std::vector<uint32_t> peek32(uint32_t addr, uint32_t words);
 
   /*!
    * \brief Called by scheduler when starting flowgraph