]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/uni-t-dmm/protocol.h
uni-t-dmm: sort supported devices, sort in the ut71x group
[libsigrok.git] / src / hardware / uni-t-dmm / protocol.h
index 9ec354fb7d5a0dd8d153699cf546bdf8225dcf87..4258d413d4a3bad72fee264d3f4adb56b2c5cc78 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef LIBSIGROK_HARDWARE_UNI_T_DMM_PROTOCOL_H
@@ -37,8 +36,8 @@ struct dmm_info {
        int packet_size;
        gboolean (*packet_valid)(const uint8_t *);
        int (*packet_parse)(const uint8_t *, float *,
-                           struct sr_datafeed_analog_old *, void *);
-       void (*dmm_details)(struct sr_datafeed_analog_old *, void *);
+                           struct sr_datafeed_analog *, void *);
+       void (*dmm_details)(struct sr_datafeed_analog *, void *);
        gsize info_size;
 };
 
@@ -46,7 +45,6 @@ struct dmm_info {
 
 #define DMM_BUFSIZE            256
 
-/** Private, per-device-instance driver context. */
 struct dev_context {
        struct sr_sw_limits limits;