]> sigrok.org Git - libsigrok.git/blobdiff - src/dmm/vc870.c
serial-dmm, metex14: add support for multiple channels per DMM
[libsigrok.git] / src / dmm / vc870.c
index a2b2b72a69d52da109c3bf8d61082da1ff3b08b6..2af7cc99c6c6d6008935ce1c5827dbce8fbedb13 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <config.h>
@@ -361,7 +360,7 @@ static void handle_flags(struct sr_datafeed_analog *analog,
        if (info->is_auto)
                analog->meaning->mqflags |= SR_MQFLAG_AUTORANGE;
        if (info->is_diode)
-               analog->meaning->mqflags |= SR_MQFLAG_DIODE;
+               analog->meaning->mqflags |= SR_MQFLAG_DIODE | SR_MQFLAG_DC;
        if (info->is_hold)
                /*
                 * Note: HOLD only affects the number displayed on the LCD,