/*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
*
* Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef LIBSIGROK_HARDWARE_AGILENT_DMM_AGILENT_DMM_H
+#define LIBSIGROK_HARDWARE_AGILENT_DMM_AGILENT_DMM_H
-#ifndef LIBSIGROK_AGILENT_DMM_H
-#define LIBSIGROK_AGILENT_DMM_H
+#define LOG_PREFIX "agilent-dmm"
#define AGDMM_BUFSIZE 256
struct agdmm_profile {
int model;
const char *modelname;
- int serial_speed;
const struct agdmm_job *jobs;
const struct agdmm_recv *recvs;
};
const struct agdmm_profile *profile;
uint64_t limit_samples;
uint64_t limit_msec;
- struct sr_serial_dev_inst *serial;
/* Opaque pointer passed in by the frontend. */
void *cb_data;
SR_PRIV int agdmm_receive_data(int fd, int revents, void *cb_data);
-#endif /* LIBSIGROK_AGILENT_DMM_H */
+#endif