X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fconrad-digi-35-cpu%2Fprotocol.h;h=fcde852ecce84881c4a4098361588433fddba1a5;hb=d292f767bd031979edbcbf54b7daa39b0aad7812;hp=c363d9b7f29aa0bcbf879254298c04a99558bd1b;hpb=823b4e5817af106e88ab4be2bdb999ac9d1ee50b;p=libsigrok.git
diff --git a/hardware/conrad-digi-35-cpu/protocol.h b/hardware/conrad-digi-35-cpu/protocol.h
index c363d9b7..fcde852e 100644
--- a/hardware/conrad-digi-35-cpu/protocol.h
+++ b/hardware/conrad-digi-35-cpu/protocol.h
@@ -17,29 +17,24 @@
* along with this program. If not, see .
*/
+/**
+ * @file
+ * Conrad DIGI 35 CPU power supply driver
+ * @internal
+ */
+
#ifndef LIBSIGROK_HARDWARE_CONRAD_DIGI_35_CPU_PROTOCOL_H
#define LIBSIGROK_HARDWARE_CONRAD_DIGI_35_CPU_PROTOCOL_H
#include
+#include
+#include
#include
#include "libsigrok.h"
#include "libsigrok-internal.h"
-/* Message logging helpers with subsystem-specific prefix string. */
#define LOG_PREFIX "conrad-digi-35-cpu"
-/** Private, per-device-instance driver context. */
-struct dev_context {
- /* Model-specific information */
-
- /* Acquisition settings */
-
- /* Operational state */
-
- /* Temporary state across callbacks */
-
-};
-
-SR_PRIV int conrad_digi_35_cpu_receive_data(int fd, int revents, void *cb_data);
+SR_PRIV int send_msg1(const struct sr_dev_inst *sdi, char cmd, int param);
#endif