X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fmotech-lps-30x%2Fprotocol.c;h=4de6f0e9d4b5fb7546fa85a17c172ffd943b602a;hb=f9c6b5cfd3c0f6cb737f6a68f69034ce6819f36d;hp=beb2bcdef3b2ea60c5c1aa22758282275dfff8fd;hpb=bcaadb366f56127b1a39ce54b0de03c975701c4c;p=libsigrok.git
diff --git a/src/hardware/motech-lps-30x/protocol.c b/src/hardware/motech-lps-30x/protocol.c
index beb2bcde..4de6f0e9 100644
--- a/src/hardware/motech-lps-30x/protocol.c
+++ b/src/hardware/motech-lps-30x/protocol.c
@@ -18,9 +18,12 @@
* along with this program. If not, see .
*/
-/** @file
- * Motech LPS-30x series power supply driver
- * @internal
+/**
+ * @file
+ *
+ * Motech LPS-30x series power supply driver
+ *
+ * @internal
*/
#include
@@ -44,6 +47,7 @@ static void send_data(struct sr_dev_inst *sdi)
packet.type = SR_DF_ANALOG;
packet.payload = &analog;
+ /* Note: digits/spec_digits will be overridden later. */
sr_analog_init(&analog, &encoding, &meaning, &spec, 0);
analog.meaning->channels = sdi->channels;