Attached patch for Sparkfun 70C DMM
From 350810d3b7eb82b775b33b3b9e63a387354b88d2 Mon Sep 17 00:00:00 2001
From: Richard <rsa...@rsaxvc.net>
Date: Wed, 28 Jun 2017 00:23:35 -0500
Subject: [PATCH 2/2] Add support for sparkfun 70C to serial-dmm

sparkfun-70c-ser
---
 src/hardware/serial-dmm/api.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/hardware/serial-dmm/api.c b/src/hardware/serial-dmm/api.c
index e39480e9..5b04e5dc 100644
--- a/src/hardware/serial-dmm/api.c
+++ b/src/hardware/serial-dmm/api.c
@@ -414,6 +414,12 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers,
 		sr_fs9922_packet_valid, sr_fs9922_parse, NULL
 	),
 	DMM(
+		"sparkfun-70c-ser", fs9922,
+		"Sparkfun", "70c", "2400/8n1/rts=0/dtr=1",
+		2400, FS9922_PACKET_SIZE, 0, 0, NULL,
+		sr_fs9922_packet_valid, sr_fs9922_parse, NULL
+	),
+	DMM(
 		/*
 		 * Note: The VC830 doesn't set the 'volt' and 'diode' bits of
 		 * the FS9922 protocol. Instead, it only sets the user-defined
-- 
2.11.0

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to