>Please keep the sort order of the DMM entries.
Done.
>BTW "SparkFun" itself uses a capital inline F for their company
name, too.
Done.
From 4238dc407e5432d08985f4980bcf9dbb65affe9a Mon Sep 17 00:00:00 2001
From: Richard <rsa...@rsaxvc.net>
Date: Wed, 28 Jun 2017 00:23:35 -0500
Subject: [PATCH 2/4] 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..4b5b4e06 100644
--- a/src/hardware/serial-dmm/api.c
+++ b/src/hardware/serial-dmm/api.c
@@ -396,6 +396,12 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers,
/* }}} */
/* fs9922 based meters {{{ */
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(
"uni-t-ut61b-ser", fs9922,
"UNI-T", "UT61B (UT-D02 cable)", "2400/8n1/rts=0/dtr=1",
2400, FS9922_PACKET_SIZE, 0, 0, NULL,
--
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